Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Xt_Stopwatch / Stopwatch_display.h
blob1c255ddfb33b7b8d744e82b0e496e616c0140606
2 //=============================================================================
3 /**
4 * @file Stopwatch_display.h
6 * @author Balachandran Natarajan <bala@cs.wustl.edu>
7 */
8 //=============================================================================
10 #ifndef STOPWATCH_H
11 #define STOPWATCH_H
12 #include /**/ "ace/pre.h"
13 #include "tao/ORB_Constants.h"
15 #include <Xm/Xm.h>
16 #include <Xm/Frame.h>
17 #include <Xm/Label.h>
19 class Stopwatch_display
21 public:
22 /// Stopwatch_display constructor
23 Stopwatch_display (Widget &parent);
25 /// Destructor
26 virtual ~Stopwatch_display ();
28 /// Manage the widget
29 virtual void manage ();
31 /// Change the displayed time
32 void set_time (CORBA::Float value);
34 private:
35 /// A frame widget...
36 Widget frame_;
38 /// Label Widget that is used to display time..
39 Widget label_;
43 #include /**/ "ace/post.h"
44 #endif /* STOPWATCH_H */