Qwt User's Guide svn
qwt_global.h
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
00002  * Qwt Widget Library
00003  * Copyright (C) 1997   Josef Wilgen
00004  * Copyright (C) 2002   Uwe Rathmann
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the Qwt License, Version 1.0
00008  *****************************************************************************/
00009 
00010 #ifndef QWT_GLOBAL_H
00011 #define QWT_GLOBAL_H
00012 
00013 #include <qglobal.h>
00014 
00015 // QWT_VERSION is (major << 16) + (minor << 8) + patch.
00016 
00017 #define QWT_VERSION       0x060002
00018 #define QWT_VERSION_STR   "6.0.2"
00019 
00020 #if defined(Q_WS_WIN) || defined(Q_WS_S60)
00021 
00022 #if defined(_MSC_VER) /* MSVC Compiler */
00023 /* template-class specialization 'identifier' is already instantiated */
00024 #pragma warning(disable: 4660)
00025 #endif // _MSC_VER
00026 
00027 #ifdef QWT_DLL
00028 
00029 #if defined(QWT_MAKEDLL)     // create a Qwt DLL library 
00030 #define QWT_EXPORT  __declspec(dllexport)
00031 #define QWT_TEMPLATEDLL
00032 #else                        // use a Qwt DLL library
00033 #define QWT_EXPORT  __declspec(dllimport)
00034 #endif
00035 
00036 #endif // QWT_DLL
00037 
00038 #endif // Q_WS_WIN || Q_WS_S60
00039 
00040 #ifndef QWT_EXPORT
00041 #define QWT_EXPORT
00042 #endif
00043 
00044 // #define QWT_NO_COMPAT 1 // disable withdrawn functionality
00045 
00046 #endif 
qmi style