summaryrefslogtreecommitdiff
path: root/src/gui/console/ConsoleCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/console/ConsoleCommand.h')
-rw-r--r--src/gui/console/ConsoleCommand.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gui/console/ConsoleCommand.h b/src/gui/console/ConsoleCommand.h
new file mode 100644
index 0000000..31e41b0
--- /dev/null
+++ b/src/gui/console/ConsoleCommand.h
@@ -0,0 +1,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_ */