blob: a40a688329089ec04cf119e0a1c86adf4bf87de5 (
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
|
/*
* ConsoleCommand.h
*
* Created on: Feb 1, 2012
* Author: Simon
*/
#ifndef CONSOLECOMMAND_H_
#define CONSOLECOMMAND_H_
class ConsoleCommand
{
public:
ConsoleCommand(std::string command, int returnStatus, std::string returnValue):
Command(command), ReturnStatus(returnStatus), ReturnValue(returnValue)
{
}
std::string Command;
int ReturnStatus;
std::string ReturnValue;
operator std::string() const
{
return Command;
}
};
#endif /* CONSOLECOMMAND_H_ */
|