diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-05 16:37:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-02-05 16:37:36 (GMT) |
| commit | 7ae5eaab79a41f31b633ca6f1bfb0dbae2fccb90 (patch) | |
| tree | b76fc14cca5e19c5482209f34131973ad1f80e6a /src/console/ConsoleController.h | |
| parent | 8024caec55ff1b93eefe50663d4ddf63934f8d63 (diff) | |
| download | powder-7ae5eaab79a41f31b633ca6f1bfb0dbae2fccb90.zip powder-7ae5eaab79a41f31b633ca6f1bfb0dbae2fccb90.tar.gz | |
Started intrepreter for tpt script and various things for console
Diffstat (limited to 'src/console/ConsoleController.h')
| -rw-r--r-- | src/console/ConsoleController.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/console/ConsoleController.h b/src/console/ConsoleController.h index 9316f71..d5fc07a 100644 --- a/src/console/ConsoleController.h +++ b/src/console/ConsoleController.h @@ -13,6 +13,7 @@ #include "ConsoleView.h" #include "ConsoleModel.h" #include "ConsoleCommand.h" +#include "cat/CommandInterface.h" class ConsoleModel; class ConsoleView; @@ -20,14 +21,16 @@ class ConsoleController { ControllerCallback * callback; ConsoleView * consoleView; ConsoleModel * consoleModel; + CommandInterface * commandInterface; public: bool HasDone; - ConsoleController(ControllerCallback * callback); + ConsoleController(ControllerCallback * callback, CommandInterface * commandInterface); std::string FormatCommand(std::string command); void EvaluateCommand(std::string command); void NextCommand(); void PreviousCommand(); void Exit(); + void CloseConsole(); ConsoleView * GetView(); virtual ~ConsoleController(); }; |
