]> git.tdb.fi Git - poefilter.git/blobdiff - source/filter.h
Add show flag to filter blocks
[poefilter.git] / source / filter.h
index 492ff7d30ac9d7fa685b185a13b97b093be59a4f..8511fff96a2542c31b73ac85c81b848f51dfd49a 100644 (file)
@@ -44,7 +44,9 @@ public:
        private:
                static std::string glob_to_re(const std::string &);
                static bool category_order(const Category *, const Category *);
+               void add_categories(const std::string &, bool);
 
+               void cancel(const std::string &);
                void hide(const std::string &);
                void include(const std::string &);
                void show(const std::string &);
@@ -53,6 +55,7 @@ public:
 private:
        struct Block
        {
+               bool show;
                const Category *category;
                Appearance appearance;
        };