blob: 5466931e9ebafa442d97f549d7d6697eae0088fd (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/Xt_Stopwatch/Stopwatch_server
//
// = FILENAME
// Stopwatch.h
//
// = AUTHOR
// Balachandran Natarajan <bala@cs.wustl.edu>
//
// ============================================================================
#ifndef STOPWATCH_H
#define STOPWATCH_H
#include "tao/corba.h"
#if defined (ACE_HAS_XT)
#include <Xm/Xm.h>
#include <Xm/Frame.h>
#include <Xm/Label.h>
class Stopwatch_display
{
public:
Stopwatch_display (Widget &parent);
// Stopwatch_display constructor
virtual ~Stopwatch_display (void);
// Destructor
virtual void manage (void);
// Manage the widget
void set_time (CORBA::Float value);
// Change the displayed time
private:
Widget frame_;
// A frame widget...
Widget label_;
// Label Widget that is used to display time..
};
#endif /*ACE_HAS_XT*/
#endif /* STOPWATCH_H */
|