ctkExport.h.in 767 B

12345678910111213141516171819202122232425262728293031
  1. // .NAME __@MY_EXPORT_HEADER_PREFIX@Export - manage Windows system differences
  2. // .SECTION Description
  3. // The __@MY_EXPORT_HEADER_PREFIX@Export captures some system differences between Unix
  4. // and Windows operating systems.
  5. #ifndef __@MY_EXPORT_HEADER_PREFIX@Export_h
  6. #define __@MY_EXPORT_HEADER_PREFIX@Export_h
  7. #include <QtGlobal>
  8. #if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
  9. # if defined(@MY_LIBNAME@_EXPORTS)
  10. # define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_EXPORT
  11. # else
  12. # define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_IMPORT
  13. # endif
  14. #endif
  15. #if !defined(@MY_LIBRARY_EXPORT_DIRECTIVE@)
  16. //# if defined(CTK_SHARED)
  17. # define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_EXPORT
  18. //# else
  19. //# define @MY_LIBRARY_EXPORT_DIRECTIVE@
  20. //# endif
  21. #endif
  22. #endif