summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.h b/config.h
index d3c6066..f4bebfc 100644
--- a/config.h
+++ b/config.h
@@ -7,6 +7,7 @@
#include <vdr/tools.h>
#include <vdr/skins.h>
#include <vdr/plugin.h>
+#include "designer.h"
#include "libcore/fontmanager.h"
#include "libcore/imagecache.h"
#include "libcore/recfolderinfo.h"
@@ -37,12 +38,17 @@ private:
map < string, multimap< int, pair <int, string> > > pluginSubViews;
map < string, map< int, map <int, string> > > pluginViewElements;
map < string, map< int, map <int, string> > > pluginViewGrids;
+ vector<cSkinDesigner*> skinRefs;
+ vector<cSkinDesigner*>::iterator skinRefsIterator;
+ vector<string> deliveredSkins;
+ vector<string> installerSkins;
vector<string> skins;
vector<string>::iterator skinIterator;
map < string, cSkinSetup* > skinSetups;
map < string, cSkinSetup* >::iterator setupIt;
vector < pair <string, int> > skinSetupParameters;
cSkinRepos skinRepos;
+ void ReadSkinFolder(cString &folder, vector<string> *container);
public:
cDesignerConfig();
~cDesignerConfig();
@@ -56,6 +62,11 @@ public:
void ReadSkinSetup(string skin);
void InitSkinIterator(void) { skinIterator = skins.begin(); };
bool GetSkin(string &skin);
+ cString GetSkinPath(string skin);
+ void AddSkin(cSkinDesigner *skin) { skinRefs.push_back(skin); };
+ void AddNewSkinRef(string skin);
+ void InitSkinRefsIterator(void) { skinRefsIterator = skinRefs.begin(); };
+ cSkinDesigner *GetNextSkinRef(void);
void ClearSkinSetups(void);
void DebugSkinSetups(void);
void DebugSkinSetupParameters(void);
@@ -67,6 +78,10 @@ public:
void SetSkinSetupParameters(void);
void UpdateSkinSetupParameter(string name, int value);
void ReadSkinRepos(void);
+ void InitSkinRepoIterator(void) { skinRepos.InitRepoIterator(); };
+ cSkinRepo *GetNextSkinRepo(void) { return skinRepos.GetNextRepo(); };
+ cSkinRepo *GetSkinRepo(string name) { return skinRepos.GetRepo(name); };
+ bool SkinInstalled(string name);
void SetGlobals(cGlobals *globals) { tmplGlobals = globals; };
void UpdateGlobals(void);
void CheckDecimalPoint(void);
@@ -92,6 +107,7 @@ public:
cString installerSkinPath;
cString logoPath;
cString epgImagePath;
+ string vdrThemesPath;
bool replaceDecPoint;
char decPoint;
//Setup Parameter