diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-03-23 12:30:49 +0100 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-03-23 12:30:49 +0100 |
commit | 5665276d8fab9fe2ef3fb620543bf300f85aaa3a (patch) | |
tree | 942da32eb4c0adcda4ac79e560c602b8c443d805 /confdloader.c | |
parent | a8cb73c8045c75bc3b782f5a141b36fa26b43064 (diff) | |
download | vdr-plugin-epgsearch-5665276d8fab9fe2ef3fb620543bf300f85aaa3a.tar.gz vdr-plugin-epgsearch-5665276d8fab9fe2ef3fb620543bf300f85aaa3a.tar.bz2 |
updated copyright info for 2008
Diffstat (limited to 'confdloader.c')
-rw-r--r-- | confdloader.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/confdloader.c b/confdloader.c index 4188c89..5bb444b 100644 --- a/confdloader.c +++ b/confdloader.c @@ -30,6 +30,10 @@ The project's page is at http://winni.vdr-developer.org/epgsearch #include "epgsearchcats.h" +// --------------------------- +// Loads all files in the conf.d subdirectory of <plugin-config-directory> and +// applies found settings. +// --------------------------- bool cConfDLoader::Load() { const string dirPath(AddDirectory(CONFIGDIR, "conf.d")); @@ -61,6 +65,24 @@ bool cConfDLoader::Load() return success; } +// --------------------------- +// Each file has the form +// +// [<section>] +// <setting> +// ... +// [<section>] +// ... +// +// where section is one: +// +// epgsearchuservars +// epgsearchdirs +// epgsearchmenu +// epgsearchcats +// +// <setting> corresponds to the entries in the related conf files. +// --------------------------- bool cConfDLoader::LoadFile(const char *FileName) { if (FileName && access(FileName, F_OK) == 0) { |