Qwt Polar User's Guide 0.1.0
qwt_polar_global.h
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
00002  * QwtPolar Widget Library
00003  * Copyright (C) 2008   Uwe Rathmann
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the Qwt License, Version 1.0
00007  *****************************************************************************/
00008 
00009 #ifndef QWT_POLAR_GLOBAL_H
00010 #define QWT_POLAR_GLOBAL_H
00011 
00012 #include <qglobal.h>
00013 #if QT_VERSION < 0x040000
00014 #include <qmodules.h>
00015 #endif
00016 
00017 // QWT_POLAR_VERSION is (major << 16) + (minor << 8) + patch.
00018 
00019 #define QWT_POLAR_VERSION       0x000100
00020 #define QWT_POLAR_VERSION_STR   "0.1.0"
00021 
00022 #if defined(Q_WS_WIN)
00023 
00024 #if defined(_MSC_VER) /* MSVC Compiler */
00025 /* template-class specialization 'identifier' is already instantiated */
00026 #pragma warning(disable: 4660)
00027 #endif // _MSC_VER
00028 
00029 #ifdef QWT_POLAR_DLL
00030 
00031 #if defined(QWT_POLAR_MAKEDLL)     // create a Qwt DLL library 
00032 #define QWT_POLAR_EXPORT  __declspec(dllexport)
00033 #define QWT_POLAR_TEMPLATEDLL
00034 #else                        // use a Qwt DLL library
00035 #define QWT_POLAR_EXPORT  __declspec(dllimport)
00036 #endif
00037 
00038 #endif // QWT_POLAR_MAKEDLL
00039 
00040 #endif // Q_WS_WIN
00041 
00042 #ifndef QWT_POLAR_EXPORT
00043 #define QWT_POLAR_EXPORT
00044 #endif
00045 
00046 #endif // QWT_POLAR_GLOBAL_H