Skip to content
qwt_global.h 1.05 KiB
Newer Older
pixhawk's avatar
pixhawk committed
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
 * Qwt Widget Library
 * Copyright (C) 1997   Josef Wilgen
 * Copyright (C) 2002   Uwe Rathmann
pixhawk's avatar
pixhawk committed
 * 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
#define QWT_VERSION       0x060101
#define QWT_VERSION_STR   "6.1.1"
pixhawk's avatar
pixhawk committed

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

#ifdef QWT_DLL

#if defined(QWT_MAKEDLL)     // create a Qwt DLL library 
Bryant's avatar
Bryant committed
#define QWT_EXPORT Q_DECL_EXPORT
pixhawk's avatar
pixhawk committed
#else                        // use a Qwt DLL library
Bryant's avatar
Bryant committed
#define QWT_EXPORT Q_DECL_IMPORT 
pixhawk's avatar
pixhawk committed
#endif

#endif // QWT_DLL

#ifndef QWT_EXPORT
#define QWT_EXPORT
#endif

Bryant's avatar
Bryant committed
#endif