diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-26 01:13:33 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-26 01:13:33 (GMT) |
| commit | 9e1be78bc21d1fb76a19ce12ef36193aea6e2b93 (patch) | |
| tree | 081b67d551bb44fecbf6deb99b6c44ea9789614c /src/preview/PreviewController.h | |
| parent | b2d3257ae944a3ea3b57dc8ee4171b1b2f85483e (diff) | |
| download | powder-9e1be78bc21d1fb76a19ce12ef36193aea6e2b93.zip powder-9e1be78bc21d1fb76a19ce12ef36193aea6e2b93.tar.gz | |
I've got to a point where I can no longer be bothered to think of a proper commit comment
Diffstat (limited to 'src/preview/PreviewController.h')
| -rw-r--r-- | src/preview/PreviewController.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/preview/PreviewController.h b/src/preview/PreviewController.h index 373ff03..452d686 100644 --- a/src/preview/PreviewController.h +++ b/src/preview/PreviewController.h @@ -10,14 +10,22 @@ #include "preview/PreviewModel.h" #include "preview/PreviewView.h" +#include "Controller.h" +#include "search/Save.h" class PreviewModel; class PreviewView; class PreviewController { PreviewModel * previewModel; PreviewView * previewView; + ControllerCallback * callback; public: - PreviewController(int saveID); + bool HasExited; + PreviewController(int saveID, ControllerCallback * callback); + void Exit(); + void DoOpen(); + bool GetDoOpen(); + Save * GetSave(); PreviewView * GetView() { return previewView; } virtual ~PreviewController(); }; |
