qwt_global.h 1.05 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
 * Qwt Widget Library
 * Copyright (C) 1997   Josef Wilgen
 * Copyright (C) 2002   Uwe Rathmann
5
 *
pixhawk's avatar
pixhawk committed
6 7 8 9 10 11 12 13 14 15 16
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the Qwt License, Version 1.0
 *****************************************************************************/

#ifndef QWT_GLOBAL_H
#define QWT_GLOBAL_H

#include <qglobal.h>

// QWT_VERSION is (major << 16) + (minor << 8) + patch.

Bryant's avatar
Bryant committed
17 18
#define QWT_VERSION       0x060101
#define QWT_VERSION_STR   "6.1.1"
pixhawk's avatar
pixhawk committed
19 20 21 22

#if defined(_MSC_VER) /* MSVC Compiler */
/* template-class specialization 'identifier' is already instantiated */
#pragma warning(disable: 4660)
Bryant's avatar
Bryant committed
23 24
/* inherits via dominance */
#pragma warning(disable: 4250)
pixhawk's avatar
pixhawk committed
25 26 27 28 29
#endif // _MSC_VER

#ifdef QWT_DLL

#if defined(QWT_MAKEDLL)     // create a Qwt DLL library 
Bryant's avatar
Bryant committed
30
#define QWT_EXPORT Q_DECL_EXPORT
pixhawk's avatar
pixhawk committed
31
#else                        // use a Qwt DLL library
Bryant's avatar
Bryant committed
32
#define QWT_EXPORT Q_DECL_IMPORT 
pixhawk's avatar
pixhawk committed
33 34 35 36 37 38 39 40
#endif

#endif // QWT_DLL

#ifndef QWT_EXPORT
#define QWT_EXPORT
#endif

Bryant's avatar
Bryant committed
41
#endif