summaryrefslogtreecommitdiff
path: root/TAO/tests/QtTests/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/QtTests/test_i.cpp')
-rw-r--r--TAO/tests/QtTests/test_i.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/tests/QtTests/test_i.cpp b/TAO/tests/QtTests/test_i.cpp
new file mode 100644
index 00000000000..0d961989108
--- /dev/null
+++ b/TAO/tests/QtTests/test_i.cpp
@@ -0,0 +1,34 @@
+// $Id$
+
+#include "test_i.h"
+
+ACE_RCSID( QtTests,
+ test_i,
+ "$Id$")
+
+LCD_Display_imp::LCD_Display_imp (CORBA::ORB_ptr orb)
+
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+void
+LCD_Display_imp::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "The ORB has been shutdown, Close the windows to exit \n"));
+ this->orb_->shutdown (0);
+ this->orb_->destroy ();
+}
+
+void
+LCD_Display_imp::send_val (CORBA::Long val
+ ACE_ENV_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "The value from server is <%d> \n", val));
+ emit set_value (val);
+}
+