]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Config.h.in
...
[cpPlugins.git] / lib / cpPlugins / Config.h.in
1 #ifndef __CPPLUGINS__CONFIG__H__
2 #define __CPPLUGINS__CONFIG__H__
3
4 #include <cpPlugins/cpPlugins_Export.h>
5 #include <cpPlugins_Config.h>
6 #include <string>
7
8 /*
9  * =========================================================================
10  * Version numbers and strings
11  * =========================================================================
12  */
13 #define cpPlugins_MAJ_VER @prj_MAJ_VER@
14 #define cpPlugins_MIN_VER @prj_MIN_VER@
15 #define cpPlugins_REL_VER @prj_REL_VER@
16 #define cpPlugins_VER     "@prj_VER@"
17 #define cpPlugins_sVER    "@prj_sVER@"
18
19 /*
20  * =========================================================================
21  * Some useful constants and values
22  * =========================================================================
23  */
24
25 #define cpPlugins_QT4_USED @QT4_FOUND@
26 #if cpPlugins_QT4_USED == 1
27 #  define cpPlugins_QT4
28 #else // cpPlugins_QT4_USED == 1
29 #  undef cpPlugins_QT4
30 #endif // cpPlugins_QT4_USED == 1
31
32 /*
33  * =========================================================================
34  * Some macros
35  * =========================================================================
36  */
37 #define cpPlugins_Id_Macro( N, C )                                      \
38   public:                                                               \
39   virtual const char* GetClassName( ) const ITK_OVERRIDE                \
40   { return( #N ); }                                                     \
41   virtual const char* GetClassCategory( ) const ITK_OVERRIDE            \
42   { return( #C ); }
43
44 #endif // __CPPLUGINS__CONFIG__H__
45
46 // eof - $RCSfile$