source: ntrip/trunk/BNC/qwtpolar/qwt_polar_global.h@ 7026

Last change on this file since 7026 was 4272, checked in by mervart, 12 years ago
File size: 1.2 KB
Line 
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 0x010000
17#define QWT_POLAR_VERSION_STR "1.0.0"
18
19#if defined(Q_WS_WIN) || defined(Q_WS_S60)
20
21#if defined(_MSC_VER) /* MSVC Compiler */
22/* template-class specialization 'identifier' is already instantiated */
23#pragma warning(disable: 4660)
24#endif // _MSC_VER
25
26#ifdef QWT_POLAR_DLL
27
28#if defined(QWT_POLAR_MAKEDLL) // create a Qwt DLL library
29#define QWT_POLAR_EXPORT __declspec(dllexport)
30#define QWT_POLAR_TEMPLATEDLL
31#else // use a Qwt DLL library
32#define QWT_POLAR_EXPORT __declspec(dllimport)
33#endif
34
35#endif // QWT_POLAR_MAKEDLL
36
37#endif // Q_WS_WIN
38
39#ifndef QWT_POLAR_EXPORT
40#define QWT_POLAR_EXPORT
41#endif
42
43#endif // QWT_POLAR_GLOBAL_H
Note: See TracBrowser for help on using the repository browser.