source: pacpusframework/branches/2.0-beta1/include/extlib/qwt-5.2.1/qwt_global.h@ 89

Last change on this file since 89 was 89, checked in by morasjul, 11 years ago

PACPUS 2.0 Beta deployed in new branch

Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support

  • Property svn:executable set to *
File size: 1.3 KB
Line 
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// vim: expandtab
11
12#ifndef QWT_GLOBAL_H
13#define QWT_GLOBAL_H
14
15#include <qglobal.h>
16#if QT_VERSION < 0x040000
17#include <qmodules.h>
18#endif
19
20// QWT_VERSION is (major << 16) + (minor << 8) + patch.
21
22#define QWT_VERSION 0x050201
23#define QWT_VERSION_STR "5.2.1"
24
25#if defined(Q_WS_WIN) || defined(Q_WS_S60)
26
27#if defined(_MSC_VER) /* MSVC Compiler */
28/* template-class specialization 'identifier' is already instantiated */
29#pragma warning(disable: 4660)
30#endif // _MSC_VER
31
32#ifdef QWT_DLL
33
34#if defined(QWT_MAKEDLL) // create a Qwt DLL library
35#define QWT_EXPORT __declspec(dllexport)
36#define QWT_TEMPLATEDLL
37#else // use a Qwt DLL library
38#define QWT_EXPORT __declspec(dllimport)
39#endif
40
41#endif // QWT_DLL
42
43#endif // Q_WS_WIN || Q_WS_S60
44
45#ifndef QWT_EXPORT
46#define QWT_EXPORT
47#endif
48
49// #define QWT_NO_COMPAT 1 // disable withdrawn functionality
50
51#endif // QWT_GLOBAL_H
Note: See TracBrowser for help on using the repository browser.