qwt_global.h
Go to the documentation of this file.
1 /******************************************************************************
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 0x060300
18 #define QWT_VERSION_STR "6.3.0"
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 #define QWT_CONSTEXPR Q_DECL_CONSTEXPR
42 
43 #if QT_VERSION >= 0x050000
44 #define QWT_OVERRIDE Q_DECL_OVERRIDE
45 #define QWT_FINAL Q_DECL_FINAL
46 #endif
47 
48 #ifndef QWT_CONSTEXPR
49 #define QWT_CONSTEXPR
50 #endif
51 
52 #ifndef QWT_OVERRIDE
53 #define QWT_OVERRIDE
54 #endif
55 
56 #ifndef QWT_FINAL
57 #define QWT_FINAL
58 #endif
59 
60 #endif


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45