diff options
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); +} |
