blob: 12c2cc42d1c4788d4ab76c2207af9e003d934040 (
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
|
#ifndef ACTION_H
#define ACTION_H
#include <list>
#include "staticstring.h"
class Command;
class Action
{
public:
Action();
Action( const char *sName );
virtual ~Action();
void add( Command *pCmd );
const char *getName()
{
return sName;
}
bool isDefault()
{
return bDefault;
}
void debug();
private:
bool bDefault;
StaticString sName;
std::list<Command *> lCommand;
};
#endif
|