diff options
Diffstat (limited to 'TAO/tests/CORBA_is_nil/Hello.cpp')
-rw-r--r-- | TAO/tests/CORBA_is_nil/Hello.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tests/CORBA_is_nil/Hello.cpp b/TAO/tests/CORBA_is_nil/Hello.cpp new file mode 100644 index 00000000000..0c842934437 --- /dev/null +++ b/TAO/tests/CORBA_is_nil/Hello.cpp @@ -0,0 +1,24 @@ +#include "Hello.h" + +Hello::Hello (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Hello::get_string () +{ + return CORBA::string_dup ("Hello there!"); +} + +Test::Hello_ptr +Hello::get_Hello () +{ + return Test::Hello::_nil(); +} + +void +Hello::shutdown () +{ + this->orb_->shutdown (false); +} |