From ac89503027f048d0fa34234ed5ac62725f3f68e4 Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 19 Jan 2015 09:23:15 +0100 Subject: introducing skin setups --- libtemplate/xmlparser.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libtemplate/xmlparser.h') 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(); -- cgit v1.2.3