Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Xt_Stopwatch / Control.h
blobecda322aef1a93920f84f052849869325afa8103
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 (void);
32 /// Manage the widget
33 virtual void manage (void);
35 /// Return the start widget
36 Widget& startwidget (void);
38 /// Return the stop widget..
39 Widget& stopwidget (void);
41 private:
43 /// A frame widget...
44 Widget frame_;
46 /// A row column widget..
47 Widget rowcolumn_;
49 /// Pushbutton Widget that is used to start the timer..
50 Widget startwidget_;
52 /// Pushbutton widget that is used to stop the timer..
53 Widget stopwidget_;
58 #endif /* CONTROL_H */