summaryrefslogtreecommitdiff
path: root/src/search/SearchView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
commit44639a6423c03552a3c0faafab27ef8f395f73a6 (patch)
tree1a4fc49a56060759fcbec6f18e9159cf126e8606 /src/search/SearchView.h
parent4a60b97c700c2f1843b7e99313554cb89fb5da4e (diff)
downloadpowder-44639a6423c03552a3c0faafab27ef8f395f73a6.zip
powder-44639a6423c03552a3c0faafab27ef8f395f73a6.tar.gz
Some folder changes, started search and client
Diffstat (limited to 'src/search/SearchView.h')
-rw-r--r--src/search/SearchView.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/search/SearchView.h b/src/search/SearchView.h
index e540f21..c68d42c 100644
--- a/src/search/SearchView.h
+++ b/src/search/SearchView.h
@@ -1,13 +1,28 @@
#ifndef SEARCHVIEW_H
#define SEARCHVIEW_H
+#include <vector>
+#include "SearchController.h"
+#include "interface/SaveButton.h"
+#include "interface/Button.h"
+
+using namespace std;
+
class SearchModel;
+class SearchController;
-class SearchView
+class SearchView: public ui::Window
{
+private:
+ SearchController * c;
+ vector<ui::SaveButton*> saveButtons;
+ ui::Button * nextButton;
+ ui::Button * previousButton;
public:
void NotifySaveListChanged(SearchModel * sender);
SearchView();
+ virtual ~SearchView();
+ void AttachController(SearchController * _c) { c = _c; }
};
#endif // SEARCHVIEW_H