diff options
Diffstat (limited to 'confdloader.h')
-rw-r--r-- | confdloader.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/confdloader.h b/confdloader.h index 37eff1a..6a36324 100644 --- a/confdloader.h +++ b/confdloader.h @@ -24,6 +24,7 @@ The project's page is at http://winni.vdr-developer.org/epgsearch #include "uservars.h" #include "menu_dirselect.h" #include "templatefile.h" +#include "epgsearchcats.h" class cConfDLoader { public: @@ -64,7 +65,14 @@ class cConfDLoader { if (T.Parse(s)) cTemplFile::Parse(T.Name(), T.Value()); } - + if (EqualsNoCase(section, "[epgsearchcats]")) + { + cSearchExtCat* cat = new cSearchExtCat; + if (cat && cat->Parse(s)) + SearchExtCats.Add(cat); + else + delete cat; + } } } } |