00001
00002
00003
00004
00005
00006
00007 #ifndef CTRLTASK_EXPORT_H
00008 #define CTRLTASK_EXPORT_H
00009
00010 #include "ace/config-all.h"
00011
00012 #if !defined (CTRLTASK_HAS_DLL)
00013 # define CTRLTASK_HAS_DLL 1
00014 #endif
00015
00016 #if defined (CTRLTASK_HAS_DLL) && (CTRLTASK_HAS_DLL == 1)
00017 # if defined (CTRLTASK_BUILD_DLL)
00018 # define CtrlTask_Export ACE_Proper_Export_Flag
00019 # define CTRLTASK_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
00020 # define CTRLTASK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00021 # else
00022 # define CtrlTask_Export ACE_Proper_Import_Flag
00023 # define CTRLTASK_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
00024 # define CTRLTASK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00025 # endif
00026 #else
00027 # define CtrlTask_Export
00028 # define CTRLTASK_SINGLETON_DECLARATION(T)
00029 # define CTRLTASK_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00030 #endif
00031
00032
00033
00034 #if !defined (CTRLTASK_NTRACE)
00035 # if (ACE_NTRACE == 1)
00036 # define CTRLTASK_NTRACE 1
00037 # else
00038 # define CTRLTASK_NTRACE 0
00039 # endif
00040 #endif
00041
00042 #if (CTRLTASK_NTRACE == 1)
00043 # define CTRLTASK_TRACE(X)
00044 #else
00045 # if !defined (ACE_HAS_TRACE)
00046 # define ACE_HAS_TRACE
00047 # endif
00048 # define CTRLTASK_TRACE(X) ACE_TRACE_IMPL(X)
00049 # include "ace/Trace.h"
00050 #endif
00051
00052 #endif
00053
00054