Qwt User's Guide 6.0.2

- Main Page
- Related Pages
- Classes

qwt_global.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * Qwt Widget Library
3 * Copyright (C) 1997 Josef Wilgen
4 * Copyright (C) 2002 Uwe Rathmann
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the Qwt License, Version 1.0
8 *****************************************************************************/
9
10 #ifndef QWT_GLOBAL_H
11 #define QWT_GLOBAL_H
12
13 #include <qglobal.h>
14
15 // QWT_VERSION is (major << 16) + (minor << 8) + patch.
16
17 #define QWT_VERSION 0x060002
18 #define QWT_VERSION_STR "6.0.2"
19
20 #if defined(_MSC_VER) /* MSVC Compiler */
21 /* template-class specialization 'identifier' is already instantiated */
22 #pragma warning(disable: 4660)
23 #endif // _MSC_VER
24
25 #ifdef QWT_DLL
26
27 #if defined(QWT_MAKEDLL) // create a Qwt DLL library
28 #define QWT_EXPORT Q_DECL_EXPORT
29 #else // use a Qwt DLL library
30 #define QWT_EXPORT Q_DECL_IMPORT
31 #endif
32
33 #endif // QWT_DLL
34
35 #ifndef QWT_EXPORT
36 #define QWT_EXPORT
37 #endif
38
39 // #define QWT_NO_COMPAT 1 // disable withdrawn functionality
40
41 #endif