summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-05 16:25:26 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-03-10 17:50:17 +0100
commit744efdd79f7bae6ad3204ea7b06e382df59d7636 (patch)
treeafcdf5eece2572f0d24879162e6ee03cdaa8adc9 /config.h
parent1d6f6a764e1e8b4f66476668828295418448eb7e (diff)
downloadskin-nopacity-744efdd79f7bae6ad3204ea7b06e382df59d7636.tar.gz
skin-nopacity-744efdd79f7bae6ad3204ea7b06e382df59d7636.tar.bz2
Add cNopacityConfig::.Init()
In Init() all necessary functions are collected in order to properly initialize the skin. These functions can then be made private in this class. This can also simplify cNopacity::ReloadCaches().
Diffstat (limited to 'config.h')
-rw-r--r--config.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/config.h b/config.h
index 1e50d44..46404fb 100644
--- a/config.h
+++ b/config.h
@@ -24,6 +24,11 @@ class cNopacityConfig {
void LoadThemeConfig(cString confFile, cString theme);
std::pair<std::string, int> ReadThemeConfigLine(const char *line);
cString checkSlashAtEnd(std::string path);
+ void LoadDefaults(void);
+ void LoadThemeSpecificConfigs(void);
+ void SetThemeSpecificDefaults(void);
+ void SetThemeSetup(void);
+ void SetPathes(void);
public:
cNopacityConfig();
~cNopacityConfig();
@@ -42,11 +47,7 @@ class cNopacityConfig {
cString logoPathDefault;
cString iconPathDefault;
cString epgImagePathDefault;
- void LoadDefaults(void);
- void LoadThemeSpecificConfigs(void);
- void SetThemeSpecificDefaults(void);
- void SetThemeSetup(void);
- void SetPathes(void);
+ void Init(void);
void DumpConfig(void);
void DumpThemeConfig(void);
void SetFontName();