qwt_polar_global.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
  2. * QwtPolar Widget Library
  3. * Copyright (C) 2008 Uwe Rathmann
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the Qwt License, Version 1.0
  7. *****************************************************************************/
  8. #ifndef QWT_POLAR_GLOBAL_H
  9. #define QWT_POLAR_GLOBAL_H
  10. #include <qglobal.h>
  11. // QWT_POLAR_VERSION is (major << 16) + (minor << 8) + patch.
  12. #define QWT_POLAR_VERSION 0x010101
  13. #define QWT_POLAR_VERSION_STR "1.1.1"
  14. #if defined(_MSC_VER) /* MSVC Compiler */
  15. /* template-class specialization 'identifier' is already instantiated */
  16. #pragma warning(disable: 4660)
  17. #endif // _MSC_VER
  18. #ifdef QWT_POLAR_DLL
  19. #if defined(QWT_POLAR_MAKEDLL) // create DLL library
  20. #define QWT_POLAR_EXPORT Q_DECL_EXPORT
  21. #define QWT_POLAR_TEMPLATEDLL
  22. #else // use DLL library
  23. #define QWT_POLAR_EXPORT Q_DECL_IMPORT
  24. #endif
  25. #endif // QWT_POLAR_DLL
  26. #ifndef QWT_POLAR_EXPORT
  27. #define QWT_POLAR_EXPORT
  28. #endif
  29. #endif // QWT_POLAR_GLOBAL_H