diff options
Diffstat (limited to 'tests/Bug_3926_Regression/test_i.h')
-rw-r--r-- | tests/Bug_3926_Regression/test_i.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/Bug_3926_Regression/test_i.h b/tests/Bug_3926_Regression/test_i.h new file mode 100644 index 00000000000..81f75665a8d --- /dev/null +++ b/tests/Bug_3926_Regression/test_i.h @@ -0,0 +1,55 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file test_i.h + * + * $Id$ + * + * Implementation header for the "test" IDL interface for the + * PortableInterceptor::ForwardRequest test. + * + * @author Ossama Othman <ossama@uci.edu> + */ +//============================================================================= + +#ifndef TEST_I_H +#define TEST_I_H + +#include "testS.h" + +/** + * @class test_i + * + * @brief Simple test class. + * + * This class implements the "test" interface used in this test. + */ +class test_i : public virtual POA_hello::GoodDay +{ +public: + + /// Constructor. + test_i (CORBA::Short num, + CORBA::ORB_ptr orb); + + /// Destructor. + ~test_i (void); + + /// Return the number assigned to this object. + virtual CORBA::Short number (void); + + /// Shutdown the ORB. + virtual void shutdown (void); + +private: + + /// The number assigned to this object. + CORBA::Short number_; + + /// Pseudo-reference to the ORB. + CORBA::ORB_var orb_; + +}; + +#endif /* TEST_I_H */ |