summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Bug_2494_Regression/test_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Bug_2494_Regression/test_i.h')
-rw-r--r--trunk/TAO/tests/Bug_2494_Regression/test_i.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_2494_Regression/test_i.h b/trunk/TAO/tests/Bug_2494_Regression/test_i.h
new file mode 100644
index 00000000000..cd8971dc7a6
--- /dev/null
+++ b/trunk/TAO/tests/Bug_2494_Regression/test_i.h
@@ -0,0 +1,36 @@
+// $Id$
+
+#ifndef TAO_BUG_2494_REGRESSION_TEST_I_H
+#define TAO_BUG_2494_REGRESSION_TEST_I_H
+
+#include "testS.h"
+
+class Simple_Server_i : public POA_Simple_Server
+{
+ // = TITLE
+ // Simpler Server implementation
+ //
+ // = DESCRIPTION
+ // Implements the Simple_Server interface in test.idl
+ //
+public:
+ Simple_Server_i (CORBA::ORB_ptr orb);
+ // ctor
+
+ // = The Simple_Server methods.
+ char *test_method (const char *x)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void shutdown ()
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+ CORBA::ORB_var orb_;
+ // The ORB
+};
+
+#if defined(__ACE_INLINE__)
+#include "test_i.inl"
+#endif /* __ACE_INLINE__ */
+
+#endif /* TAO_BUG_2494_REGRESSION_TEST_I_H */