]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/qt5/mock.h
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / test / qt5 / mock.h
1 // (c) Copyright Juergen Hunold 2012
2 // Use, modification and distribution is subject to the Boost Software
3 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5
6 #include <QtCore/QObject>
7
8 class Mock : public QObject
9 {
10 /*!
11 Test that the moc gets the necessary #defines
12 Else the moc will not see the Q_OBJECT macro, issue a warning
13 and linking will fail due to missing vtable symbols.
14 */
15 #if defined(TEST_MOCK)
16 Q_OBJECT
17 #endif
18 public:
19
20 Mock();
21 };