Qwt Polar User's Guide: qwt_polar_global.h Source File

Qwt Polar User's Guide 1.1.1

- Main Page
- Related Pages
- Classes

All Classes Functions Typedefs Enumerations Enumerator Pages
qwt_polar_global.h
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2 * QwtPolar Widget Library
3 * Copyright (C) 2008 Uwe Rathmann
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the Qwt License, Version 1.0
7 *****************************************************************************/
8
9 #ifndef QWT_POLAR_GLOBAL_H
10 #define QWT_POLAR_GLOBAL_H
11
12 #include <qglobal.h>
13
14 // QWT_POLAR_VERSION is (major << 16) + (minor << 8) + patch.
15
16 #define QWT_POLAR_VERSION 0x010101
17 #define QWT_POLAR_VERSION_STR "1.1.1"
18
19 #if defined(_MSC_VER) /* MSVC Compiler */
20 /* template-class specialization 'identifier' is already instantiated */
21 #pragma warning(disable: 4660)
22 #endif // _MSC_VER
23
24 #ifdef QWT_POLAR_DLL
25
26 #if defined(QWT_POLAR_MAKEDLL) // create DLL library
27 #define QWT_POLAR_EXPORT Q_DECL_EXPORT
28 #define QWT_POLAR_TEMPLATEDLL
29 #else // use DLL library
30 #define QWT_POLAR_EXPORT Q_DECL_IMPORT
31 #endif
32
33 #endif // QWT_POLAR_DLL
34
35 #ifndef QWT_POLAR_EXPORT
36 #define QWT_POLAR_EXPORT
37 #endif
38
39 #endif // QWT_POLAR_GLOBAL_H