summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp')
-rw-r--r--trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp b/trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp
new file mode 100644
index 00000000000..8c6b6e980bc
--- /dev/null
+++ b/trunk/TAO/tests/POA/Deactivate_Object/Hello.cpp
@@ -0,0 +1,19 @@
+//
+// $Id$
+//
+#include "Hello.h"
+
+ACE_RCSID(Hello, Hello, "$Id$")
+
+Hello::Hello (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+char *
+Hello::get_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return CORBA::string_dup ("Hello there!");
+}
+