diff options
Diffstat (limited to 'TAO/tests/Servant_To_Reference_Test/Test_i.cpp')
-rw-r--r-- | TAO/tests/Servant_To_Reference_Test/Test_i.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/tests/Servant_To_Reference_Test/Test_i.cpp b/TAO/tests/Servant_To_Reference_Test/Test_i.cpp new file mode 100644 index 00000000000..6095fe48373 --- /dev/null +++ b/TAO/tests/Servant_To_Reference_Test/Test_i.cpp @@ -0,0 +1,43 @@ +// +// $Id$ +// +#include "Test_i.h" + +ACE_RCSID(Hello, Hello, "$Id$") + +One_Impl::One_Impl (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +One_Impl::get_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return CORBA::string_dup ("One_Impl there!"); +} + +Two_Impl::Two_Impl (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Two_Impl::get_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return CORBA::string_dup ("One_Impl there!"); +} + + +Three_Impl::Three_Impl (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Three_Impl::get_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return CORBA::string_dup ("Three_Impl there!"); +} |