diff options
Diffstat (limited to 'trunk/TAO/tests/Xt_Stopwatch/Control.h')
-rw-r--r-- | trunk/TAO/tests/Xt_Stopwatch/Control.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Xt_Stopwatch/Control.h b/trunk/TAO/tests/Xt_Stopwatch/Control.h new file mode 100644 index 00000000000..0dea6b7eed9 --- /dev/null +++ b/trunk/TAO/tests/Xt_Stopwatch/Control.h @@ -0,0 +1,63 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/Xt_Stopwatch/Stopwatch_client +// +// = FILENAME +// Control.h +// +// = AUTHOR +// Balachandran Natarajan <bala@cs.wustl.edu> +// +// ============================================================================ + +#ifndef CONTROL_H +#define CONTROL_H +#include "Client.h" + + +#include <Xm/Xm.h> +#include <Xm/PushB.h> +#include <Xm/Label.h> +#include <Xm/RowColumn.h> +#include <Xm/Frame.h> + + +class Control +{ + public: + Control (Widget &parent); + // Stopwatch constructor + + virtual ~Control (void); + // Destructor + + virtual void manage (void); + // Manage the widget + + Widget& startwidget (void); + // Return the start widget + + Widget& stopwidget (void); + // Return the stop widget.. + + private: + + Widget frame_; + // A frame widget... + + Widget rowcolumn_; + // A row column widget.. + + Widget startwidget_; + // Pushbutton Widget that is used to start the timer.. + + Widget stopwidget_; + // Pushbutton widget that is used to stop the timer.. + +}; + + +#endif /* CONTROL_H */ |