Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

qwt_global.h

Go to the documentation of this file.
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 <qmodules.h>
00014 #include <qglobal.h>
00015 
00016 #define QWT_VERSION       042
00017 #define QWT_VERSION_STR   "0.4.2"
00018 
00019 //
00020 // Create Qwt DLL if QWT_DLL is defined (Windows only)
00021 //
00022 
00023 #if defined(Q_WS_WIN)
00024 
00025 #if defined(_MSC_VER) /* MSVC Compiler */
00026 /* template-class specialization 'identifier' is already instantiated */
00027 #pragma warning(disable: 4660)
00028 #endif
00029 
00030 #if defined(QWT_NODLL)
00031 #undef QWT_MAKEDLL
00032 #undef QWT_DLL
00033 #undef QWT_TEMPLATEDLL
00034 #endif
00035 
00036 #ifdef QWT_DLL
00037 #if defined(QWT_MAKEDLL)     /* create a Qwt DLL library */
00038 #undef QWT_DLL
00039 #define QWT_EXPORT  __declspec(dllexport)
00040 #define QWT_TEMPLATEDLL
00041 #endif
00042 #endif
00043 
00044 #if defined(QWT_DLL)     /* use a Qwt DLL library */
00045 #define QWT_EXPORT  __declspec(dllimport)
00046 #define QWT_TEMPLATEDLL
00047 #endif
00048 
00049 #else // ! Q_WS_WIN
00050 #undef QWT_MAKEDLL       /* ignore these for other platforms */
00051 #undef QWT_DLL
00052 #undef QWT_TEMPLATEDLL
00053 #endif
00054 
00055 #ifndef QWT_EXPORT
00056 #define QWT_EXPORT
00057 #endif
00058 
00059 #if QT_VERSION < 300
00060 // Use old QArray instead of QMemArray
00061 #define QWT_NO_MEMARRAY 
00062 #endif
00063 
00064 #endif // QWT_GLOBAL_H

Generated on Fri Nov 7 14:11:45 2003 for Qwt Developer's Guide by doxygen 1.3.2