summaryrefslogtreecommitdiff
path: root/libtemplate/xmlparser.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-19 09:23:15 +0100
committerlouis <louis.braun@gmx.de>2015-01-19 09:23:15 +0100
commitac89503027f048d0fa34234ed5ac62725f3f68e4 (patch)
tree949b4bfa1af33571b746d86e636d3994fed5261a /libtemplate/xmlparser.h
parentcb9044e5f6613d69db26bd0e81575db9c0ff5a25 (diff)
downloadvdr-plugin-skindesigner-ac89503027f048d0fa34234ed5ac62725f3f68e4.tar.gz
vdr-plugin-skindesigner-ac89503027f048d0fa34234ed5ac62725f3f68e4.tar.bz2
introducing skin setups
Diffstat (limited to 'libtemplate/xmlparser.h')
-rw-r--r--libtemplate/xmlparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtemplate/xmlparser.h b/libtemplate/xmlparser.h
index 5ff829f..0369622 100644
--- a/libtemplate/xmlparser.h
+++ b/libtemplate/xmlparser.h
@@ -16,6 +16,7 @@
#include "templateview.h"
#include "templateviewlist.h"
#include "templateviewtab.h"
+#include "../libcore/skinsetup.h"
using namespace std;
@@ -25,10 +26,12 @@ class cXmlParser {
private:
cTemplateView *view;
cGlobals *globals;
+ cSkinSetup *skinSetup;
xmlParserCtxtPtr ctxt;
xmlDocPtr doc;
xmlNodePtr root;
string GetPath(string xmlFile);
+ void ParseSetupParameter(xmlNodePtr node);
void ParseGlobalColors(xmlNodePtr node);
void InsertColor(string name, string value);
void ParseGlobalVariables(xmlNodePtr node);
@@ -48,9 +51,11 @@ public:
bool ReadView(cTemplateView *view, string xmlFile);
bool ReadPluginView(string plugName, int templateNumber, string templateName);
bool ReadGlobals(cGlobals *globals, string xmlFile);
+ bool ReadSkinSetup(cSkinSetup *skinSetup, string skin, string xmlFile);
bool ParseView(void);
bool ParsePluginView(string plugName, int templateNumber);
bool ParseGlobals(void);
+ bool ParseSkinSetup(string skin);
void DeleteDocument(void);
static void InitLibXML();
static void CleanupLibXML();