Go to the documentation of this file.00001
00022 #ifndef DGV_GLOBAL_H
00023 #define DGV_GLOBAL_H
00024
00025 #define DGV_VERSION 0x000001
00026 #define DGV_VERSION_STR "0.0.1"
00027
00028 #if defined(WIN32)
00029
00030 #ifdef DGV_DLL
00031
00032
00033
00034
00035
00036 #if defined(DGV_MAKEDLL) // create a DGV DLL library
00037 #define DGV_EXPORT __declspec(dllexport)
00038 #define DGV_TEMPLATEDLL __declspec(dllexport)
00039 #else // use a DGV DLL library
00040 #define DGV_EXPORT __declspec(dllimport)
00041 #define DGV_TEMPLATEDLL
00042 #endif
00043
00044 #if defined(DGV_VTK_MAKEDLL) // create a DGV VTK DLL library
00045 #define DGV_VTK_EXPORT __declspec(dllexport)
00046 #define DGV_VTK_TEMPLATEDLL __declspec(dllexport)
00047 #else // use a DGV VTK DLL library
00048 #define DGV_VTK_EXPORT __declspec(dllimport)
00049 #define DGV_VTK_TEMPLATEDLL
00050 #endif
00051
00052 #endif // DGV_DLL
00053
00054 #endif // WIN32
00055
00056 #ifndef DGV_EXPORT
00057 #define DGV_EXPORT
00058 #define DGV_TEMPLATEDLL
00059 #endif
00060
00061 #ifndef DGV_VTK_EXPORT
00062 #define DGV_VTK_EXPORT
00063 #define DGV_VTK_TEMPLATEDLL
00064 #endif
00065
00066 #endif // DGV_GLOBAL_H