diff options
Diffstat (limited to 'trunk/TAO/tests/Bug_2654_Regression/Hello.h')
-rw-r--r-- | trunk/TAO/tests/Bug_2654_Regression/Hello.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_2654_Regression/Hello.h b/trunk/TAO/tests/Bug_2654_Regression/Hello.h new file mode 100644 index 00000000000..e6ab2e6e949 --- /dev/null +++ b/trunk/TAO/tests/Bug_2654_Regression/Hello.h @@ -0,0 +1,37 @@ +// +// $Id$ +// + +#ifndef HELLO_H +#define HELLO_H +#include /**/ "ace/pre.h" + +#include "HelloS.h" + +/// Implement the Test::Hello interface +class Hello + : public virtual POA_Test::Hello +{ +public: + /// Constructor + Hello (CORBA::ORB_ptr orb); + + // = The skeleton methods + virtual void method (CORBA::Short count ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void set_callback (Test::CallBack_ptr cb + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + +private: + /// Use an ORB reference to conver strings to objects and shutdown + /// the application. + CORBA::ORB_var orb_; + Test::CallBack_var callback_; + int count_; +}; + +#include /**/ "ace/post.h" +#endif /* HELLO_H */ |