/** * Export definitions * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-08-04 */ #pragma once #include #ifndef SOM_COMMON_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SOM_COMMON_EXPORT # else # if defined(MAKE_SVCSOMCOMMON_LIB) # define SOM_COMMON_EXPORT Q_DECL_EXPORT # ifndef WIN32 # ifdef NDDSUSERDllExport # undef NDDSUSERDllExport # endif # define NDDSUSERDllExport Q_DECL_EXPORT # endif # else # define SOM_COMMON_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef SOM_CLIENT_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SOM_CLIENT_EXPORT # else # if defined(MAKE_SVCSOMCLIENT_LIB) # define SOM_CLIENT_EXPORT Q_DECL_EXPORT # else # define SOM_CLIENT_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef SOM_SERVER_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define SOM_SERVER_EXPORT # else # if defined(MAKE_SVCSOMSERVER_LIB) # define SOM_SERVER_EXPORT Q_DECL_EXPORT # else # define SOM_SERVER_EXPORT Q_DECL_IMPORT # endif # endif #endif