corba.h
00001 #ifndef ORO_CORBA_SUPPORT_HH
00002 #define ORO_CORBA_SUPPORT_HH
00003
00004 #include "rtt-corba-config.h"
00005 #if CORBA_IS_TAO
00006 #include <ace/SString.h>
00007 #include <tao/corba.h>
00008 #define CORBA_SERVANT(f) f ## "S.h"
00009 #define CORBA_EXCEPTION_INFO(x) x._info().c_str()
00010 #else
00011 #include <omniORB4/CORBA.h>
00012 namespace CORBA {
00013 typedef Any* Any_ptr;
00014 }
00015 #define ACE_THROW_SPEC(x) throw x
00016 #define CORBA_EXCEPTION_INFO(x) x._name()
00017 #endif
00018
00019 #endif