aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/GameListManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_tab/GameListManager.hpp')
-rw-r--r--src/base_tab/GameListManager.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base_tab/GameListManager.hpp b/src/base_tab/GameListManager.hpp
index edfd18b..5c80a68 100644
--- a/src/base_tab/GameListManager.hpp
+++ b/src/base_tab/GameListManager.hpp
@@ -1,5 +1,7 @@
#include "ochess.hpp"
+#define TERMS_IN(COL) (row.COL.find(terms) != std::string::npos)
+
typedef std::string CType;
typedef struct Item {
@@ -26,4 +28,6 @@ public:
void MarkItemAsDeleted(long item);
std::vector<long> GetSelectedItems();
long GetItemGameId(long item);
+ void Filter(std::string terms);
+ void ClearFilter();
}; \ No newline at end of file