Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Xt_Stopwatch / Client.h
blobf2a869ca3a3f7dbb5e16b22a7fec1a9d3bc11912
2 //=============================================================================
3 /**
4 * @file Client.h
6 * @author Balachandran Natarajan <bala@cs.wustl.edu>
7 */
8 //=============================================================================
11 #ifndef CLIENT_H
12 #define CLIENT_H
14 #include "testC.h"
17 #include "tao/XtResource/XtResource_Loader.h"
18 class Control;
20 class Client
22 public:
23 /// ctor
24 Client (CORBA::ORB_ptr orb);
26 ///Dtor..
27 ~Client ();
29 /// The callbacks
30 static void start_callback (Widget w,
31 XtPointer client_data,
32 XtPointer call_data);
33 static void stop_callback (Widget w,
34 XtPointer client_data,
35 XtPointer call_data);
37 /// The hooks...
38 void start_hook ();
39 void stop_hook ();
41 /// Adds the callbacks to the GUI underneath.....
42 void add_callback (Control &);
44 void parse_args (int argc, ACE_TCHAR *argv[]);
45 private:
46 /// The ORB
47 CORBA::ORB_var orb_;
49 /// The server.
50 Stopwatch_var server_;
53 #endif /* CLIENT_H */