diff options
| author | louis <louis.braun@gmx.de> | 2015-01-19 09:23:15 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-01-19 09:23:15 +0100 |
| commit | ac89503027f048d0fa34234ed5ac62725f3f68e4 (patch) | |
| tree | 949b4bfa1af33571b746d86e636d3994fed5261a /libtemplate/xmlparser.h | |
| parent | cb9044e5f6613d69db26bd0e81575db9c0ff5a25 (diff) | |
| download | vdr-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.h | 5 |
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(); |
