summaryrefslogtreecommitdiff
path: root/ACE/TAO/CIAO/examples/Display/NavDisplayGUI_exec/UpdatePositionCmd.h
blob: 6eaa62a777068e19d47c60ed93e4361f3a729a14 (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
// $Id$

#ifndef __UPDATEPOSITIONCM_H
#define __UPDATEPOSITIONCM_H

#include "Command.h"

class RootPanel;
class NavUnit;

class UpdatePositionCmd : public CommandBase
{
public:
  static UpdatePositionCmd *create(
    RootPanel *form, NavUnit *unit);

public:
  virtual int execute(void *context = 0);

protected:
  UpdatePositionCmd();

  RootPanel *form_;
  NavUnit *unit_;
};


#endif // __UPDATEPOSITIONCM_H