Qwt Polar User's Guide  1.0.1
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 
00014 // QWT_POLAR_VERSION is (major << 16) + (minor << 8) + patch.
00015 
00016 #define QWT_POLAR_VERSION       0x010000
00017 #define QWT_POLAR_VERSION_STR   "1.0.0"
00018 
00019 #if defined(Q_WS_WIN) || defined(Q_WS_S60)
00020 
00021 #if defined(_MSC_VER) /* MSVC Compiler */
00022 /* template-class specialization 'identifier' is already instantiated */
00023 #pragma warning(disable: 4660)
00024 #endif // _MSC_VER
00025 
00026 #ifdef QWT_POLAR_DLL
00027 
00028 #if defined(QWT_POLAR_MAKEDLL)     // create a Qwt DLL library 
00029 #define QWT_POLAR_EXPORT  __declspec(dllexport)
00030 #define QWT_POLAR_TEMPLATEDLL
00031 #else                        // use a Qwt DLL library
00032 #define QWT_POLAR_EXPORT  __declspec(dllimport)
00033 #endif
00034 
00035 #endif // QWT_POLAR_MAKEDLL
00036 
00037 #endif // Q_WS_WIN
00038 
00039 #ifndef QWT_POLAR_EXPORT
00040 #define QWT_POLAR_EXPORT
00041 #endif
00042 
00043 #endif // QWT_POLAR_GLOBAL_H