]>
git.proxmox.com Git - ceph.git/blob - 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)
6 #include <QtCore/QObject>
8 class Mock
: public QObject
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.
15 #if defined(TEST_MOCK)