Qwt User's Guide 6.1.2

- Main Page
- Related Pages
- Classes

All Classes Functions Variables Typedefs Enumerations Enumerator Pages
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 0x060102
18 #define QWT_VERSION_STR "6.1.2"
19
20 #if defined(_MSC_VER) /* MSVC Compiler */
21 /* template-class specialization 'identifier' is already instantiated */
22 #pragma warning(disable: 4660)
23 /* inherits via dominance */
24 #pragma warning(disable: 4250)
25 #endif // _MSC_VER
26
27 #ifdef QWT_DLL
28
29 #if defined(QWT_MAKEDLL) // create a Qwt DLL library
30 #define QWT_EXPORT Q_DECL_EXPORT
31 #else // use a Qwt DLL library
32 #define QWT_EXPORT Q_DECL_IMPORT
33 #endif
34
35 #endif // QWT_DLL
36
37 #ifndef QWT_EXPORT
38 #define QWT_EXPORT
39 #endif
40
41 #endif