aboutsummaryrefslogtreecommitdiff
path: root/src/command.h
blob: aa00eae4fcd08e23b3e8eb6c65b660a790ab8a98 (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
#ifndef COMMAND_H
#define COMMAND_H

#include <stdint.h>
#include "staticstring.h"

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();

private:
	CmdType nType;
	StaticString sTarget;

};

#endif