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