itom 2.0.0
|
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 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 00009 00010 //python 00011 // see http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=7f3f750596a105d48ea84ebfe1b1c4ca03e0bab3 00012 #if (defined _DEBUG) && (defined WIN32) 00013 #undef _DEBUG 00014 #if (defined linux) | (defined CMAKE) 00015 #include "Python.h" 00016 #include "node.h" 00017 #include "numpy/arrayobject.h" 00018 #elif (defined __APPLE__) | (defined CMAKE) 00019 #include "Python.h" 00020 #include "node.h" 00021 #include "numpy/arrayobject.h" 00022 #else 00023 #include "Python.h" 00024 #include "node.h" 00025 #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays 00026 #endif 00027 #define _DEBUG 00028 #else 00029 #if (defined linux) 00030 #include "Python.h" 00031 #include "node.h" 00032 #include "numpy/arrayobject.h" 00033 #elif (defined __APPLE__) 00034 #include "Python.h" 00035 #include "node.h" 00036 #include "numpy/arrayobject.h" 00037 #else 00038 #include "Python.h" 00039 #include "node.h" 00040 #include "../Lib/site-packages/numpy/core/include/numpy/arrayobject.h" //for numpy arrays 00041 #endif 00042 #endif 00043 00044 #include <qobject.h> 00045 00046 class qDummyClass : public QObject 00047 { 00048 Q_OBJECT 00049 public: 00050 qDummyClass() {}; 00051 ~qDummyClass() {}; 00052 00053 private: 00054 }; 00055 00056 #endif // AAA_H