itom 1.3.0
D:/git-itom/sources/itom/Qitom/aaa.h
00001 #ifndef AAA_H
00002 #define AAA_H
00003 
00004 // This file is a dirty litte trick for the automoccer of qt - we MUST include our python stuff before ANY
00005 // qt stuff so we make this class which is first in the file list and first in alphabet and gets included
00006 // in the automoccer cpp file first 
00007 
00008 #ifndef ITOM_NPDATAOBJECT
00009     #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION //see comment in pythonNpDataObject.cpp
00010 #endif
00011 
00012 //python
00013 // see http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=7f3f750596a105d48ea84ebfe1b1c4ca03e0bab3
00014 #if (defined _DEBUG) && (!defined linux)
00015     #undef _DEBUG
00016     #if (defined linux) | (defined CMAKE)
00017         #include "Python.h"
00018         #include "node.h"
00019         #include "numpy/arrayobject.h"
00020     #else
00021         #include "Python.h"
00022         #include "node.h"
00023         #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays
00024     #endif
00025     #define _DEBUG
00026 #else
00027     #ifdef linux
00028         #include "Python.h"
00029         #include "node.h"
00030         #include "numpy/arrayobject.h"
00031     #else
00032         #include "Python.h"
00033         #include "node.h"
00034         #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays
00035     #endif
00036 #endif
00037 
00038 #include <qobject.h>
00039 
00040 class qDummyClass : public QObject
00041 {
00042     Q_OBJECT
00043     public:
00044         qDummyClass() {};
00045         ~qDummyClass() {};
00046 
00047     private:
00048 };
00049 
00050 #endif // AAA_H
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends