TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Tests / QtAutomoc / yaf.cpp
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2004-2011 Kitware, Inc.
4   Copyright 2011 Alexander Neundorf (neundorf@kde.org)
5
6   Distributed under the OSI-approved BSD License (the "License");
7   see accompanying file Copyright.txt for details.
8
9   This software is distributed WITHOUT ANY WARRANTY; without even the
10   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11   See the License for more information.
12 ============================================================================*/
13
14
15 #include "yaf.h"
16 #include "yaf_p.h"
17
18 #include <stdio.h>
19
20 Yaf::Yaf()
21 {
22 }
23
24
25 void Yaf::doYaf()
26 {
27   YafP yafP;
28   yafP.doYafP();
29 }
30
31 // check that including a moc file from a private header the wrong way works:
32 #include "yaf_p.moc"