qwt_global.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #ifndef QWT_GLOBAL_H
  10. #define QWT_GLOBAL_H
  11. #include <qglobal.h>
  12. // QWT_VERSION is (major << 16) + (minor << 8) + patch.
  13. #define QWT_VERSION 0x060106
  14. #define QWT_VERSION_STR "6.1.6"
  15. #if defined(_MSC_VER) /* MSVC Compiler */
  16. /* template-class specialization 'identifier' is already instantiated */
  17. #pragma warning(disable: 4660)
  18. /* inherits via dominance */
  19. #pragma warning(disable: 4250)
  20. #endif // _MSC_VER
  21. #ifdef QWT_DLL
  22. #if defined(QWT_MAKEDLL) // create a Qwt DLL library
  23. #define QWT_EXPORT Q_DECL_EXPORT
  24. #else // use a Qwt DLL library
  25. #define QWT_EXPORT Q_DECL_IMPORT
  26. #endif
  27. #endif // QWT_DLL
  28. #ifndef QWT_EXPORT
  29. #define QWT_EXPORT
  30. #endif
  31. #endif