diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 22:07:49 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-20 22:07:49 (GMT) |
| commit | c8073657fcbfd1bfa72538d7babe4964857e7101 (patch) | |
| tree | f3488e993c9828121b2f89ed2f639d2ebbe54dc9 /src/search/SearchController.cpp | |
| parent | c5e8b345219cd7d8ca4b0aa638f59a1fed2cd83b (diff) | |
| download | powder-c8073657fcbfd1bfa72538d7babe4964857e7101.zip powder-c8073657fcbfd1bfa72538d7babe4964857e7101.tar.gz | |
More stuff, need to fix memory leak
Diffstat (limited to 'src/search/SearchController.cpp')
| -rw-r--r-- | src/search/SearchController.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/search/SearchController.cpp b/src/search/SearchController.cpp index 90750e0..11871fd 100644 --- a/src/search/SearchController.cpp +++ b/src/search/SearchController.cpp @@ -1,3 +1,4 @@ +#include <string> #include "SearchController.h" #include "SearchModel.h" #include "SearchView.h" @@ -10,8 +11,13 @@ SearchController::SearchController() searchModel->AddObserver(searchView); searchView->AttachController(this); - searchModel->UpdateSaveList(); + searchModel->UpdateSaveList(""); //Set up interface //windowPanel.AddChild(); } + +void SearchController::DoSearch(std::string query) +{ + searchModel->UpdateSaveList(query); +} |
