summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1330_Regression/Test_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_1330_Regression/Test_i.h')
-rw-r--r--TAO/tests/Bug_1330_Regression/Test_i.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/TAO/tests/Bug_1330_Regression/Test_i.h b/TAO/tests/Bug_1330_Regression/Test_i.h
index 7c5d11c210e..e1f38a78323 100644
--- a/TAO/tests/Bug_1330_Regression/Test_i.h
+++ b/TAO/tests/Bug_1330_Regression/Test_i.h
@@ -11,15 +11,21 @@
class Test_i: public POA_Test
{
public:
- /// Constructor
- Test_i (void);
+ /// Constructor
+ Test_i (CORBA::ORB_ptr orb);
- /// Destructor
- ~Test_i (void);
+ /// Destructor
+ ~Test_i (void);
- /// A method
- void test_method(void);
+ /// A method
+ virtual void test_method(void);
+ virtual void shutdown (void);
+
+private:
+ /// Use an ORB reference to conver strings to objects and shutdown
+ /// the application.
+ CORBA::ORB_var orb_;
};
#endif /* ! BUG_1330_REGRESSION_TEST_I_H */