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 #undef PACKAGE_BUGREPORT
00037 #undef PACKAGE_NAME
00038 #undef PACKAGE_STRING
00039 #undef PACKAGE_TARNAME
00040 #undef PACKAGE_VERSION
00041 #undef PACKAGE_TARNAME
00042 #include <omniORB4/CORBA.h>
00043 #include <omnithread.h>
00044 #endif
00045
00046 #ifdef RTC_CORBA_CXXMAPPING11
00047 #define RefCountServantBase ServantBase
00048 #endif
00049
00050
00051 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
00052 # define DLL_EXPORT __declspec(dllexport)
00053 # define usleep(x) Sleep(x/1000);
00054 # define LINE_MAX 256
00055 BOOL WINAPI DllMain (HINSTANCE hinstDll, DWORD fdwReason, LPVOID lpvReserved);
00056 #else
00057 # define DLL_EXPORT
00058 # define WINAPI
00059 #endif
00060
00061
00062 #include "rtm/idl/OpenRTMSkel.h"
00063
00064
00065 #endif // RTC_h