summaryrefslogtreecommitdiff
path: root/trunk/TAO/examples/Advanced/ch_3/time.idl
blob: de8582dc048df93258baf8b552ed3320aa0d0b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 ();
};