summaryrefslogtreecommitdiff
path: root/modules/CIAO/examples/Display/NavDisplayGUI_exec/AddNavUnitCmd.h
blob: d156a8008edba2a9730a8f3962bdcf649cc1199b (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
// $Id$

#ifndef __ADDNAVUNITCMD_H
#define __ADDNAVUNITCMD_H

#include "Command.h"

class RootPanel;
class NavUnit;

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

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

protected:
  AddNavUnitCmd();

  RootPanel *form_;
  NavUnit *unit_;
};


#endif // __ADDNAVUNITCMD_H