/** * Export definitions * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-08-04 */ #pragma once #include #ifndef SRM_COMMON_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SRM_COMMON_EXPORT # else # if defined(MAKE_SVCSRMCOMMON_LIB) # define SRM_COMMON_EXPORT Q_DECL_EXPORT # ifndef WIN32 # ifdef NDDSUSERDllExport # undef NDDSUSERDllExport # endif # define NDDSUSERDllExport Q_DECL_EXPORT # endif # else # define SRM_COMMON_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef SRM_CLIENT_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SRM_CLIENT_EXPORT # else # if defined(MAKE_SVCSRMCLIENT_LIB) # define SRM_CLIENT_EXPORT Q_DECL_EXPORT # else # define SRM_CLIENT_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef SRM_SERVER_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SRM_SERVER_EXPORT # else # if defined(MAKE_SVCSRMSERVER_LIB) # define SRM_SERVER_EXPORT Q_DECL_EXPORT # else # define SRM_SERVER_EXPORT Q_DECL_IMPORT # endif # endif #endif