summaryrefslogtreecommitdiff
path: root/src/stamps/StampsController.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-02 16:01:28 (GMT)
commitefddc12e5d2aadc5eee1927245ad38b9dee89aed (patch)
treecf7ad38119f0734609944158e33bbb944925c777 /src/stamps/StampsController.h
parent289556ac7078963b6af361f5812dd62e6712359f (diff)
downloadpowder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.zip
powder-efddc12e5d2aadc5eee1927245ad38b9dee89aed.tar.gz
Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader
Diffstat (limited to 'src/stamps/StampsController.h')
-rw-r--r--src/stamps/StampsController.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/stamps/StampsController.h b/src/stamps/StampsController.h
new file mode 100644
index 0000000..6b1c401
--- /dev/null
+++ b/src/stamps/StampsController.h
@@ -0,0 +1,35 @@
+/*
+ * StampsController.h
+ *
+ * Created on: Mar 29, 2012
+ * Author: Simon
+ */
+
+#ifndef STAMPSCONTROLLER_H_
+#define STAMPSCONTROLLER_H_
+
+#include "Controller.h"
+#include "StampsView.h"
+#include "search/Save.h"
+
+class StampsView;
+class StampsModel;
+class StampsController {
+ ControllerCallback * callback;
+ StampsView * stampsView;
+ StampsModel * stampsModel;
+public:
+ bool HasDone;
+ StampsController(ControllerCallback * callback);
+ StampsView * GetView() {return stampsView;}
+ Save * GetStamp();
+ void OpenStamp(Save * stamp);
+ void SetStamp();
+ void NextPage();
+ void PrevPage();
+ void Update();
+ void Exit();
+ virtual ~StampsController();
+};
+
+#endif /* STAMPSCONTROLLER_H_ */