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