Add search menu.

This commit is contained in:
StackZ
2020-06-19 16:48:05 +02:00
parent 6163891c63
commit 7972fd483a
5 changed files with 245 additions and 37 deletions
+6
View File
@@ -61,7 +61,13 @@ public:
int returnJSONIndex(const int index);
int getSize();
bool getAscending() { return this->ascending; }
// Searching stuff.
int searchForEntries(const std::string searchResult);
int searchForAuthor(const std::string searchResult);
int searchForCategory(const std::string searchResult);
int searchForConsole(const std::string searchResult);
void reset() { this->sortedStore = this->unsortedStore; }
const int getSortType() {