source: ntrip/branches/BNC_2.12/qwt/qwt_global.h@ 8465

Last change on this file since 8465 was 4271, checked in by mervart, 12 years ago
File size: 1.2 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#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 0x060001
18#define QWT_VERSION_STR "6.0.1"
19
20#if defined(Q_WS_WIN) || defined(Q_WS_S60)
21
22#if defined(_MSC_VER) /* MSVC Compiler */
23/* template-class specialization 'identifier' is already instantiated */
24#pragma warning(disable: 4660)
25#endif // _MSC_VER
26
27#ifdef QWT_DLL
28
29#if defined(QWT_MAKEDLL) // create a Qwt DLL library
30#define QWT_EXPORT __declspec(dllexport)
31#define QWT_TEMPLATEDLL
32#else // use a Qwt DLL library
33#define QWT_EXPORT __declspec(dllimport)
34#endif
35
36#endif // QWT_DLL
37
38#endif // Q_WS_WIN || Q_WS_S60
39
40#ifndef QWT_EXPORT
41#define QWT_EXPORT
42#endif
43
44// #define QWT_NO_COMPAT 1 // disable withdrawn functionality
45
46#endif
Note: See TracBrowser for help on using the repository browser.