diff options
Diffstat (limited to 'trunk/TAO/tests/ICMG_Any_Bug/Hello.h')
-rw-r--r-- | trunk/TAO/tests/ICMG_Any_Bug/Hello.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/trunk/TAO/tests/ICMG_Any_Bug/Hello.h b/trunk/TAO/tests/ICMG_Any_Bug/Hello.h new file mode 100644 index 00000000000..429a7e10963 --- /dev/null +++ b/trunk/TAO/tests/ICMG_Any_Bug/Hello.h @@ -0,0 +1,36 @@ +// +// $Id$ +// + +#ifndef HELLO_H +#define HELLO_H +#include /**/ "ace/pre.h" + +#include "tao/ORB.h" +#include "TestS.h" + +/// Implement the Test::Hello interface +/// +class Hello + : public virtual POA_Test::Hello +{ +public: + + /// Constructor + Hello (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa); + + virtual Test::HelloWorld_ptr get_helloworld (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + + PortableServer::POA_var poa_; + + CORBA::ORB_var orb_; +}; + +#include /**/ "ace/post.h" +#endif /* HELLO_H */ |