- Main Page
- Classes
- Files
- Related Pages

# 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 // vim: expandtab
    00011
    00012 #ifndef QWT_GLOBAL_H
    00013 #define QWT_GLOBAL_H
    00014
    00015 #include <qglobal.h>
    00016 #if QT_VERSION < 0x040000
    00017 #include <qmodules.h>
    00018 #endif
    00019
    00020 // QWT_VERSION is (major << 16) + (minor << 8) + patch.
    00021
    00022 #define QWT_VERSION       0x050002
    00023 #define QWT_VERSION_STR   "5.0.2"
    00024
    00025 #if defined(Q_WS_WIN)
    00026
    00027 #if defined(_MSC_VER) /* MSVC Compiler */
    00028 /* template-class specialization 'identifier' is already instantiated */
    00029 #pragma warning(disable: 4660)
    00030 #endif // _MSC_VER
    00031
    00032 #ifdef QWT_DLL
    00033
    00034 #if defined(QWT_MAKEDLL)     // create a Qwt DLL library
    00035 #define QWT_EXPORT  __declspec(dllexport)
    00036 #define QWT_TEMPLATEDLL
    00037 #else                        // use a Qwt DLL library
    00038 #define QWT_EXPORT  __declspec(dllimport)
    00039 #endif
    00040
    00041 #endif // QWT_DLL
    00042
    00043 #endif // Q_WS_WIN
    00044
    00045 #ifndef QWT_EXPORT
    00046 #define QWT_EXPORT
    00047 #endif
    00048
    00049 // #define QWT_NO_COMPAT 1 // disable withdrawn functionality
    00050
    00051 #endif // QWT_GLOBAL_H