Files
qt5-legatus-legacy/Lts/Services/ServiceManagement/scm_export.h
T
2026-08-13 18:33:10 +02:00

53 lines
1.0 KiB
C
Executable File

/**
* Export definitions
* $Id$
* $HeadURL$
* $Author$
* Created by Hanna E. Rathje, SLSE, 2015-08-04
*/
#pragma once
#include <QtCore/qglobal.h>
#ifndef SCM_COMMON_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define SCM_COMMON_EXPORT
# else
# if defined(MAKE_SVCSCMCOMMON_LIB)
# define SCM_COMMON_EXPORT Q_DECL_EXPORT
# ifndef WIN32
# ifdef NDDSUSERDllExport
# undef NDDSUSERDllExport
# endif
# define NDDSUSERDllExport Q_DECL_EXPORT
# endif
# else
# define SCM_COMMON_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif
#ifndef SCM_CLIENT_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define SCM_CLIENT_EXPORT
# else
# if defined(MAKE_SVCSCMCLIENT_LIB)
# define SCM_CLIENT_EXPORT Q_DECL_EXPORT
# else
# define SCM_CLIENT_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif
#ifndef SCM_SERVER_EXPORT
# ifdef BUILD_STATIC_LIBRARIES
# define SCM_SERVER_EXPORT
# else
# if defined(MAKE_SVCSCMSERVER_LIB)
# define SCM_SERVER_EXPORT Q_DECL_EXPORT
# else
# define SCM_SERVER_EXPORT Q_DECL_IMPORT
# endif
# endif
#endif