diff options
Diffstat (limited to 'src/search/SearchModel.h')
| -rw-r--r-- | src/search/SearchModel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/search/SearchModel.h b/src/search/SearchModel.h index 08f04b7..4ac41c1 100644 --- a/src/search/SearchModel.h +++ b/src/search/SearchModel.h @@ -30,6 +30,7 @@ private: bool showFavourite; bool showTags; void notifySaveListChanged(); + void notifyTagListChanged(); void notifySelectedChanged(); void notifyPageChanged(); void notifySortChanged(); @@ -43,11 +44,18 @@ private: pthread_t updateSaveListThread; static void * updateSaveListTHelper(void * obj); void * updateSaveListT(); + + bool updateTagListWorking; + volatile bool updateTagListFinished; + pthread_t updateTagListThread; + static void * updateTagListTHelper(void * obj); + void * updateTagListT(); public: SearchModel(); virtual ~SearchModel(); void SetShowTags(bool show); + bool GetShowTags(); void AddObserver(SearchView * observer); void UpdateSaveList(int pageNumber, std::string query); vector<SaveInfo*> GetSaveList(); |
