3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl TAO_ReplicationManagerLib
5 // ------------------------------
6 #ifndef TAO_REPLICATIONMANAGERLIB_EXPORT_H
7 #define TAO_REPLICATIONMANAGERLIB_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (TAO_AS_STATIC_LIBS)
12 # if !defined (TAO_REPLICATIONMANAGERLIB_HAS_DLL)
13 # define TAO_REPLICATIONMANAGERLIB_HAS_DLL 0
14 # endif /* ! TAO_REPLICATIONMANAGERLIB_HAS_DLL */
16 # if !defined (TAO_REPLICATIONMANAGERLIB_HAS_DLL)
17 # define TAO_REPLICATIONMANAGERLIB_HAS_DLL 1
18 # endif /* ! TAO_REPLICATIONMANAGERLIB_HAS_DLL */
21 #if defined (TAO_REPLICATIONMANAGERLIB_HAS_DLL) && (TAO_REPLICATIONMANAGERLIB_HAS_DLL == 1)
22 # if defined (TAO_REPLICATIONMANAGERLIB_BUILD_DLL)
23 # define TAO_ReplicationManagerLib_Export ACE_Proper_Export_Flag
24 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
25 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
26 # else /* TAO_REPLICATIONMANAGERLIB_BUILD_DLL */
27 # define TAO_ReplicationManagerLib_Export ACE_Proper_Import_Flag
28 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
29 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
30 # endif /* TAO_REPLICATIONMANAGERLIB_BUILD_DLL */
31 #else /* TAO_REPLICATIONMANAGERLIB_HAS_DLL == 1 */
32 # define TAO_ReplicationManagerLib_Export
33 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARATION(T)
34 # define TAO_REPLICATIONMANAGERLIB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
35 #endif /* TAO_REPLICATIONMANAGERLIB_HAS_DLL == 1 */
37 // Set TAO_REPLICATIONMANAGERLIB_NTRACE = 0 to turn on library specific tracing even if
38 // tracing is turned off for ACE.
39 #if !defined (TAO_REPLICATIONMANAGERLIB_NTRACE)
40 # if (ACE_NTRACE == 1)
41 # define TAO_REPLICATIONMANAGERLIB_NTRACE 1
42 # else /* (ACE_NTRACE == 1) */
43 # define TAO_REPLICATIONMANAGERLIB_NTRACE 0
44 # endif /* (ACE_NTRACE == 1) */
45 #endif /* !TAO_REPLICATIONMANAGERLIB_NTRACE */
47 #if (TAO_REPLICATIONMANAGERLIB_NTRACE == 1)
48 # define TAO_REPLICATIONMANAGERLIB_TRACE(X)
49 #else /* (TAO_REPLICATIONMANAGERLIB_NTRACE == 1) */
50 # if !defined (ACE_HAS_TRACE)
51 # define ACE_HAS_TRACE
52 # endif /* ACE_HAS_TRACE */
53 # define TAO_REPLICATIONMANAGERLIB_TRACE(X) ACE_TRACE_IMPL(X)
54 # include "ace/Trace.h"
55 #endif /* (TAO_REPLICATIONMANAGERLIB_NTRACE == 1) */
57 #endif /* TAO_REPLICATIONMANAGERLIB_EXPORT_H */
59 // End of auto generated file.