]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/structs/FilterListStruct.h
Finish block list implementation.
[PrivacyBrowserPC.git] / src / structs / FilterListStruct.h
index ef560d1485aedb53a4bb82c2a8d06edf67b506e5..e21606857a19cb34cbc6e8e3984aaa79e912fc43 100644 (file)
 
 struct FilterListStruct
 {
+    // The strings.
     QString title;
     QString version;
     QString filePath;
-    std::forward_list<EntryStruct *> mainAllowList;
-    std::forward_list<EntryStruct *> mainBlockList;
-    std::forward_list<EntryStruct *> initialDomainBlockList;
+
+    // The filter lists.
+    std::forward_list<EntryStruct *> *mainAllowListPointer = new std::forward_list<EntryStruct *>;
+    std::forward_list<EntryStruct *> *mainBlockListPointer = new std::forward_list<EntryStruct *>;
+    std::forward_list<EntryStruct *> *initialDomainBlockListPointer = new std::forward_list<EntryStruct *>;
+    std::forward_list<EntryStruct *> *regularExpressionBlockListPointer = new std::forward_list<EntryStruct *>;
 };
 #endif