summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/include/qwt3d_global.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
commitb85a292ce06475d560bfa1195b63a8bfe211f22d (patch)
tree463d71be55ff807513139f1de106aef6bdd7b4db /lib/tqwtplot3d/include/qwt3d_global.h
parentce039289815e2802fdeca8d384126c807ca9cb58 (diff)
downloadulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.tar.gz
ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.zip
Add 0.2.7 release of qwtplot3d for future TQt3 conversion and use
Diffstat (limited to 'lib/tqwtplot3d/include/qwt3d_global.h')
-rw-r--r--lib/tqwtplot3d/include/qwt3d_global.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/include/qwt3d_global.h b/lib/tqwtplot3d/include/qwt3d_global.h
new file mode 100644
index 0000000..d759107
--- /dev/null
+++ b/lib/tqwtplot3d/include/qwt3d_global.h
@@ -0,0 +1,58 @@
+#ifndef QWT3D_GLOBAL_H
+#define QWT3D_GLOBAL_H
+
+#include <qglobal.h>
+#if QT_VERSION < 0x040000
+#include <qmodules.h>
+#endif
+
+#define QWT3D_MAJOR_VERSION 0
+#define QWT3D_MINOR_VERSION 2
+#define QWT3D_PATCH_VERSION 6
+
+//
+// Create Qwt3d DLL if QWT3D_DLL is defined (Windows only)
+//
+
+#if defined(Q_WS_WIN)
+ #if defined(_MSC_VER) /* MSVC Compiler */
+ #pragma warning(disable: 4251) // dll interface required for stl templates
+ //pragma warning(disable: 4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
+ #pragma warning(disable: 4786) // truncating debug info after 255 characters
+ #pragma warning(disable: 4660) // template-class specialization 'identifier' is already instantiated
+ #if (_MSC_VER >= 1400) /* VS8 - not sure about VC7 */
+ #pragma warning(disable: 4996) /* MS security enhancements */
+ #endif
+ #endif
+
+ #if defined(QWT3D_NODLL)
+ #undef QWT3D_MAKEDLL
+ #undef QWT3D_DLL
+ #undef QWT3D_TEMPLATEDLL
+ #endif
+
+ #ifdef QWT3D_DLL
+ #if defined(QWT3D_MAKEDLL) /* create a Qwt3d DLL library */
+ #undef QWT3D_DLL
+ #define QWT3D_EXPORT __declspec(dllexport)
+ #define QWT3D_TEMPLATEDLL
+ #endif
+ #endif
+
+ #if defined(QWT3D_DLL) /* use a Qwt3d DLL library */
+ #define QWT3D_EXPORT __declspec(dllimport)
+ #define QWT3D_TEMPLATEDLL
+ #endif
+
+#else // ! Q_WS_WIN
+ #undef QWT3D_MAKEDLL /* ignore these for other platforms */
+ #undef QWT3D_DLL
+ #undef QWT3D_TEMPLATEDLL
+#endif
+
+#ifndef QWT3D_EXPORT
+ #define QWT3D_EXPORT
+#endif
+
+
+#endif