diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-22 14:14:17 (GMT) |
| commit | 9abe51526cac2634af0541c3de69834dd30e9f78 (patch) | |
| tree | 6ae4deadfe00a83094b9d288d8c11d8ce823577a /src/gui/console/ConsoleCommand.h | |
| parent | 2c311b9a36a88fadd96f3d39acb1ab2590835d81 (diff) | |
| download | powder-9abe51526cac2634af0541c3de69834dd30e9f78.zip powder-9abe51526cac2634af0541c3de69834dd30e9f78.tar.gz | |
Move all GUI source files into gui/
Diffstat (limited to 'src/gui/console/ConsoleCommand.h')
| -rw-r--r-- | src/gui/console/ConsoleCommand.h | 23 |
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_ */ |
