Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Xt_Stopwatch / Control.h
blob959acddd14e0f56e06e4cc122010bc4ee36eb395
2 //=============================================================================
3 /**
4 * @file Control.h
6 * @author Balachandran Natarajan <bala@cs.wustl.edu>
7 */
8 //=============================================================================
11 #ifndef CONTROL_H
12 #define CONTROL_H
13 #include "Client.h"
16 #include <Xm/Xm.h>
17 #include <Xm/PushB.h>
18 #include <Xm/Label.h>
19 #include <Xm/RowColumn.h>
20 #include <Xm/Frame.h>
23 class Control
25 public:
26 /// Stopwatch constructor
27 Control (Widget &parent);
29 /// Destructor
30 virtual ~Control ();
32 /// Manage the widget
33 virtual void manage ();
35 /// Return the start widget
36 Widget& startwidget ();
38 /// Return the stop widget..
39 Widget& stopwidget ();
41 private:
42 /// A frame widget...
43 Widget frame_;
45 /// A row column widget..
46 Widget rowcolumn_;
48 /// Pushbutton Widget that is used to start the timer..
49 Widget startwidget_;
51 /// Pushbutton widget that is used to stop the timer..
52 Widget stopwidget_;
56 #endif /* CONTROL_H */