summaryrefslogtreecommitdiff
path: root/src/gui/console/ConsoleCommand.h
blob: 31e41b05f4c070c41dff69177a3a20cb39c4e9d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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_ */