diff options
Diffstat (limited to 'TAO/IIOP/test/Orbeline/base_server/cubit_impl.h')
-rw-r--r-- | TAO/IIOP/test/Orbeline/base_server/cubit_impl.h | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h b/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h index 1e710bb15d1..0f6fd7dd6db 100644 --- a/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h +++ b/TAO/IIOP/test/Orbeline/base_server/cubit_impl.h @@ -2,26 +2,32 @@ #ifndef cubit_ih #define cubit_ih -#include "cubit.h" +#include "cubitS.h" #ifdef Cubit_USE_BOA -class Cubit_Impl : public virtual CubitBOAImpl { +class Cubit_Impl : public virtual _sk_Cubit { #else class Cubit_Impl { #endif /* Cubit_USE_BOA */ public: - virtual CORBA::Octet cube_octet (CORBA::Octet o, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Short cube_short (CORBA::Short s, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual CORBA::Long cube_long (CORBA::Long l, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::Many cube_struct (const Cubit::Many& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual Cubit::oneof cube_union (const Cubit::oneof& values, CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); - virtual void please_exit (CORBA::Environment &IT_env=CORBA::default_environment) throw (CORBA::SystemException); -}; -#ifndef Cubit_USE_BOA -DEF_TIE_Cubit (Cubit_Impl) +#ifdef Cubit_USE_BOA + Cubit_Impl (const char *obj_name = NULL) : + _sk_Cubit(obj_name) + {} +#else + Cubit_Impl (const char *obj_name = NULL) + {} #endif /* Cubit_USE_BOA */ + virtual CORBA::Octet cube_octet(CORBA::Octet o); + virtual CORBA::Short cube_short(CORBA::Short s); + virtual CORBA::Long cube_long(CORBA::Long l); + virtual Cubit::Many cube_struct(const Cubit::Many& values); + virtual Cubit::oneof cube_union(const Cubit::oneof& values); + virtual void please_exit(); +}; + #endif |