~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.1/src/qwt_global.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
// vim: expandtab
11
 
 
12
 
#ifndef QWT_GLOBAL_H
13
 
#define QWT_GLOBAL_H
14
 
 
15
 
#include <qglobal.h>
16
 
#if QT_VERSION < 0x040000
17
 
#include <qmodules.h>
18
 
#endif
19
 
 
20
 
// QWT_VERSION is (major << 16) + (minor << 8) + patch.
21
 
 
22
 
#define QWT_VERSION       0x050001
23
 
#define QWT_VERSION_STR   "5.0.1"
24
 
 
25
 
#if defined(Q_WS_WIN)
26
 
 
27
 
#if defined(_MSC_VER) /* MSVC Compiler */
28
 
/* template-class specialization 'identifier' is already instantiated */
29
 
#pragma warning(disable: 4660)
30
 
#endif // _MSC_VER
31
 
 
32
 
#ifdef QWT_DLL
33
 
 
34
 
#if defined(QWT_MAKEDLL)     // create a Qwt DLL library 
35
 
#define QWT_EXPORT  __declspec(dllexport)
36
 
#define QWT_TEMPLATEDLL
37
 
#else                        // use a Qwt DLL library
38
 
#define QWT_EXPORT  __declspec(dllimport)
39
 
#endif
40
 
 
41
 
#endif // QWT_DLL
42
 
 
43
 
#endif // Q_WS_WIN
44
 
 
45
 
#ifndef QWT_EXPORT
46
 
#define QWT_EXPORT
47
 
#endif
48
 
 
49
 
// #define QWT_NO_COMPAT 1 // disable withdrawn functionality
50
 
 
51
 
#endif // QWT_GLOBAL_H