]> git.tdb.fi Git - poefilter.git/blobdiff - source/filter.h
Associate categories and appearances at filter level
[poefilter.git] / source / filter.h
index 40eb057ba8e895ffd34852eb178db4264225c2bc..492ff7d30ac9d7fa685b185a13b97b093be59a4f 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 #include <msp/datafile/objectloader.h>
 #include <msp/io/base.h>
+#include "appearance.h"
 
 class Category;
 class PoeFilter;
@@ -50,7 +51,13 @@ public:
        };
 
 private:
-       std::list<const Category *> categories;
+       struct Block
+       {
+               const Category *category;
+               Appearance appearance;
+       };
+
+       std::list<Block> blocks;
        bool abstract;
 
 public: