From 2c71b2ce3cf119c0b90c9608ae3a77ad24cd571d Mon Sep 17 00:00:00 2001 From: TangoCash Date: Wed, 20 Dec 2017 10:55:33 +0100 Subject: [PATCH] filebrowser: add size() and getFilter() members Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/cc645d23a0af6423c220472eff3bfe96d56adcdc Author: TangoCash Date: 2017-12-20 (Wed, 20 Dec 2017) Origin message was: ------------------ - filebrowser: add size() and getFilter() members --- src/gui/filebrowser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/filebrowser.h b/src/gui/filebrowser.h index 57e5c2c3b..63d2245e7 100644 --- a/src/gui/filebrowser.h +++ b/src/gui/filebrowser.h @@ -135,6 +135,8 @@ public: return false; }; void Clear(void) { Filter.clear();}; + size_t size(void) { return Filter.size();}; + std::string getFilter(int i) { return Filter.at(i);}; }; //------------------------------------------------------------------------