You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
52 lines
1.2 KiB
15 years ago
|
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
|
||
|
* Qwt Widget Library
|
||
|
* Copyright (C) 1997 Josef Wilgen
|
||
|
* Copyright (C) 2002 Uwe Rathmann
|
||
14 years ago
|
*
|
||
15 years ago
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the Qwt License, Version 1.0
|
||
|
*****************************************************************************/
|
||
|
|
||
|
// vim: expandtab
|
||
|
|
||
|
#ifndef QWT_GLOBAL_H
|
||
|
#define QWT_GLOBAL_H
|
||
|
|
||
|
#include <qglobal.h>
|
||
|
#if QT_VERSION < 0x040000
|
||
|
#include <qmodules.h>
|
||
|
#endif
|
||
|
|
||
|
// QWT_VERSION is (major << 16) + (minor << 8) + patch.
|
||
|
|
||
|
#define QWT_VERSION 0x050102
|
||
|
#define QWT_VERSION_STR "5.1.2"
|
||
|
|
||
|
#if defined(Q_WS_WIN)
|
||
|
|
||
|
#if defined(_MSC_VER) /* MSVC Compiler */
|
||
|
/* template-class specialization 'identifier' is already instantiated */
|
||
|
#pragma warning(disable: 4660)
|
||
|
#endif // _MSC_VER
|
||
|
|
||
|
#ifdef QWT_DLL
|
||
|
|
||
|
#if defined(QWT_MAKEDLL) // create a Qwt DLL library
|
||
|
#define QWT_EXPORT __declspec(dllexport)
|
||
|
#define QWT_TEMPLATEDLL
|
||
|
#else // use a Qwt DLL library
|
||
|
#define QWT_EXPORT __declspec(dllimport)
|
||
|
#endif
|
||
|
|
||
|
#endif // QWT_DLL
|
||
|
|
||
|
#endif // Q_WS_WIN
|
||
|
|
||
|
#ifndef QWT_EXPORT
|
||
|
#define QWT_EXPORT
|
||
|
#endif
|
||
|
|
||
|
// #define QWT_NO_COMPAT 1 // disable withdrawn functionality
|
||
|
|
||
|
#endif // QWT_GLOBAL_H
|