httpglobal.h 550 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. @file
  3. @author Stefan Frings
  4. */
  5. #ifndef HTTPGLOBAL_H
  6. #define HTTPGLOBAL_H
  7. #include <QtGlobal>
  8. // This is specific to Windows dll's
  9. #if defined(Q_OS_WIN)
  10. #if defined(QTWEBAPPLIB_EXPORT)
  11. #define DECLSPEC Q_DECL_EXPORT
  12. #elif defined(QTWEBAPPLIB_IMPORT)
  13. #define DECLSPEC Q_DECL_IMPORT
  14. #endif
  15. #endif
  16. #if !defined(DECLSPEC)
  17. #define DECLSPEC
  18. #endif
  19. /** Get the library version number */
  20. DECLSPEC const char* getQtWebAppLibVersion();
  21. #if __cplusplus < 201103L
  22. #define nullptr 0
  23. #endif
  24. #endif // HTTPGLOBAL_H