summaryrefslogtreecommitdiff
path: root/TAO/examples/Advanced/ch_3/time.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Advanced/ch_3/time.idl')
-rw-r--r--TAO/examples/Advanced/ch_3/time.idl32
1 files changed, 32 insertions, 0 deletions
diff --git a/TAO/examples/Advanced/ch_3/time.idl b/TAO/examples/Advanced/ch_3/time.idl
new file mode 100644
index 00000000000..de8582dc048
--- /dev/null
+++ b/TAO/examples/Advanced/ch_3/time.idl
@@ -0,0 +1,32 @@
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/examples/Advanced/ch_3
+//
+// = FILENAME
+// time.idl
+//
+// = AUTHORS
+// Source code used in TAO has been modified and adapted from the code
+// provided in the book, "Advanced CORBA Programming with C++" by Michi
+// Henning and Steve Vinoski. Copyright 1999. Addison-Wesley, Reading,
+// MA. Used with permission of Addison-Wesley.
+//
+// Modified for TAO by Mike Moran <mm4@cs.wustl.edu>
+//
+// ============================================================================
+
+struct TimeOfDay
+{
+ short hour; // 0 - 23
+ short minute; // 0 - 59
+ short second; // 0 - 59
+};
+
+interface Time
+{
+ TimeOfDay get_gmt ();
+};
+