diff options
Diffstat (limited to 'TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp')
-rw-r--r-- | TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp b/TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp deleted file mode 100644 index 7a01b737b67..00000000000 --- a/TAO/CIAO/examples/handcrafted/Display/HUDisplay_svnt.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// $Id$ - -// The generated filename for files using this template shoule be -// [idl-basename]GS.cpp GS --> GlueSession - -// @@ Notice: [ciao module name] can expand to either CIAO_GLUE or -// CIAO_GLUE_[module name] as defined in the header file. - -#include "HUDisplay_svnt.h" - -#if !defined (__ACE_INLINE__) -# include "HUDisplay_svnt.inl" -#endif /* __ACE_INLINE__ */ - -// get_component implementation. -// get_component is a standard CORBA::Object operations that returns -// the component reference that an object interface associates to. -CORBA::Object_ptr -CIAO_GLUE_HUDisplay::position_Servant::_get_component (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - Components::SessionContext_var sc = - Components::SessionContext::_narrow (this->ctx_.in ()); - - if (! CORBA::is_nil(sc.in ())) - return sc->get_CCM_object (ACE_ENV_SINGLE_ARG_PARAMETER); - - ::Components::EntityContext_var ec = - ::Components::EntityContext::_narrow (this->ctx_.in ()); - - if (! CORBA::is_nil(ec.in ())) - return ec->get_CCM_object (ACE_ENV_SINGLE_ARG_PARAMETER); - - ACE_THROW_RETURN (CORBA::INTERNAL (), 0); -} |