cppwebframework_global.h 629 B

1234567891011121314151617181920212223
  1. /*
  2. Copyright 2017 Herik Lima de Castro and Marcelo Medeiros Eler
  3. Distributed under MIT license, or public domain if desired and
  4. recognized in your jurisdiction.
  5. See file LICENSE for detail.
  6. */
  7. #ifndef CPPWEBFRAMEWORK_GLOBAL_H
  8. #define CPPWEBFRAMEWORK_GLOBAL_H
  9. #include <QtCore/qglobal.h>
  10. #if defined(CPPWEBFRAMEWORK_STATIC)
  11. #define CPPWEBFRAMEWORKSHARED_EXPORT
  12. #elif defined(CPPWEBFRAMEWORK_LIBRARY)
  13. #define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_EXPORT
  14. #else
  15. #define CPPWEBFRAMEWORKSHARED_EXPORT Q_DECL_IMPORT
  16. #endif
  17. #define CWF_BEGIN_NAMESPACE namespace CWF {
  18. #define CWF_END_NAMESPACE }
  19. #endif // CPPWEBFRAMEWORK_GLOBAL_H