Qwt Polar User's Guide  0.1.0
qwt_polar_global.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2  * QwtPolar Widget Library
3  * Copyright (C) 2008 Uwe Rathmann
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the Qwt License, Version 1.0
7  *****************************************************************************/
8 
9 #ifndef QWT_POLAR_GLOBAL_H
10 #define QWT_POLAR_GLOBAL_H
11 
12 #include <qglobal.h>
13 #if QT_VERSION < 0x040000
14 #include <qmodules.h>
15 #endif
16 
17 // QWT_POLAR_VERSION is (major << 16) + (minor << 8) + patch.
18 
19 #define QWT_POLAR_VERSION 0x000100
20 #define QWT_POLAR_VERSION_STR "0.1.0"
21 
22 #if defined(Q_WS_WIN)
23 
24 #if defined(_MSC_VER) /* MSVC Compiler */
25 /* template-class specialization 'identifier' is already instantiated */
26 #pragma warning(disable: 4660)
27 #endif // _MSC_VER
28 
29 #ifdef QWT_POLAR_DLL
30 
31 #if defined(QWT_POLAR_MAKEDLL) // create a Qwt DLL library
32 #define QWT_POLAR_EXPORT __declspec(dllexport)
33 #define QWT_POLAR_TEMPLATEDLL
34 #else // use a Qwt DLL library
35 #define QWT_POLAR_EXPORT __declspec(dllimport)
36 #endif
37 
38 #endif // QWT_POLAR_MAKEDLL
39 
40 #endif // Q_WS_WIN
41 
42 #ifndef QWT_POLAR_EXPORT
43 #define QWT_POLAR_EXPORT
44 #endif
45 
46 #endif // QWT_POLAR_GLOBAL_H