/** * Export definitions * $Id$ * $HeadURL$ * $Author$ * Created by Hanna E. Rathje, SLSE, 2015-08-04 */ #pragma once #include #ifndef ESM_COMMON_EXPORT # undef ESM_ENUM_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define ESM_COMMON_EXPORT # define ESM_ENUM_EXPORT # else # if defined(MAKE_SVCESMCOMMON_LIB) # define ESM_COMMON_EXPORT Q_DECL_EXPORT # define ESM_ENUM_EXPORT Q_DECL_EXPORT # ifndef WIN32 # ifdef NDDSUSERDllExport # undef NDDSUSERDllExport # endif # define NDDSUSERDllExport Q_DECL_EXPORT # endif # else # define ESM_COMMON_EXPORT Q_DECL_IMPORT # define ESM_ENUM_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef ESM_CLIENT_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define ESM_CLIENT_EXPORT # else # if defined(MAKE_SVCESMCLIENT_LIB) # define ESM_CLIENT_EXPORT Q_DECL_EXPORT # else # define ESM_CLIENT_EXPORT Q_DECL_IMPORT # endif # endif #endif #ifndef ESM_SERVER_EXPORT # ifdef BUILD_STATIC_LIBRARIES # define ESM_SERVER_EXPORT # else # if defined(MAKE_SVCESMSERVER_LIB) # define ESM_SERVER_EXPORT Q_DECL_EXPORT # else # define ESM_SERVER_EXPORT Q_DECL_IMPORT # endif # endif #endif