summaryrefslogtreecommitdiff
path: root/TAO/tests/Xt_Stopwatch/Stopwatch_display.h
blob: 4e55d87b384109628f8b944a6381030272736632 (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
// $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"
#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 /* STOPWATCH_H */