blob: 495c749ca2fbea4e4c3caac823e84dcecf85d8d0 (
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
|
#ifndef COMMAND_H
#define COMMAND_H
#include <stdint.h>
#include "staticstring.h"
class Builder;
class Command
{
public:
enum CmdType
{
cmdCheck = 0,
cmdClean
};
public:
Command( CmdType cmd, const char *sTarget );
virtual ~Command();
CmdType getType()
{
return nType;
}
const char *getTarget()
{
return sTarget;
}
void debug();
void execute( class Builder &bld );
private:
CmdType nType;
StaticString sTarget;
};
#endif
|