00001
00019 #ifndef RTC_h
00020 #define RTC_h
00021
00022 #include <rtm/config_rtc.h>
00023
00024 #ifdef ORB_IS_MICO
00025 #include <CORBA.h>
00026 #include <coss/CosNaming.h>
00027 #include <rtm/idl/RTC.h>
00028 #endif
00029
00030 #ifdef ORB_IS_TAO
00031 #include <tao/corba.h>
00032 #include <orbsvcs/CosNamingC.h>
00033 #endif
00034
00035 #ifdef ORB_IS_OMNIORB
00036
00037 #ifdef WIN32
00038 #pragma warning( disable : 4267 )
00039 #pragma warning( disable : 4290 )
00040 #pragma warning( disable : 4311 )
00041 #pragma warning( disable : 4312 )
00042 #endif // WIN32
00043
00044 #include <omniORB4/CORBA.h>
00045 #include <omnithread.h>
00046
00047 #ifdef WIN32
00048 #pragma warning( default : 4267 )
00049 #pragma warning( default : 4290 )
00050 #pragma warning( default : 4311 )
00051 #pragma warning( default : 4312 )
00052 #endif // WIN32
00053
00054 #endif // ORB_IS_OMNIORB
00055
00056 #include <rtm/idl/OpenRTMSkel.h>
00057
00058 #ifdef RTC_CORBA_CXXMAPPING11
00059 #define RefCountServantBase ServantBase
00060 #endif
00061
00062
00063 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
00064 # define DLL_EXPORT __declspec(dllexport)
00065
00066
00067 BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved);
00068 #else
00069 # define DLL_EXPORT
00070 # define WINAPI
00071 #endif
00072
00073
00074
00075 #include <coil/Properties.h>
00076
00077 namespace RTC
00078 {
00079 typedef coil::Properties Properties;
00080 };
00081
00082
00083
00084 #endif // RTC_h