diff options
author | svntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-26 14:37:01 +0000 |
---|---|---|
committer | svntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-26 14:37:01 +0000 |
commit | 926b492183dd2b598587e962f952dabf9401f56c (patch) | |
tree | dbed3f72a727558e896b7991a83fadc46a7df023 /src/menuconfiguration.h | |
parent | 7ee0187d94b02ed3ae0ddcf4999cf0487a2d9ad9 (diff) | |
download | vdr-plugin-menuorg-926b492183dd2b598587e962f952dabf9401f56c.tar.gz vdr-plugin-menuorg-926b492183dd2b598587e962f952dabf9401f56c.tar.bz2 |
passing menu configuration to menusetup
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@6005 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/menuconfiguration.h')
-rw-r--r-- | src/menuconfiguration.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/menuconfiguration.h b/src/menuconfiguration.h index 34ca315..fee3016 100644 --- a/src/menuconfiguration.h +++ b/src/menuconfiguration.h @@ -26,6 +26,7 @@ #include <string> #include <vector> #include <vdr/osdbase.h> +#include <libxml++/libxml++.h> #include <glibmm/ustring.h> namespace xmlpp { class Element; } @@ -37,11 +38,13 @@ class MenuConfiguration private: static const std::string _dtd; std::vector<std::string> _configuredPlugins; - const xmlpp::Element* _configuration; + xmlpp::Element* _configuration; + xmlpp::DomParser _parser; public: MenuConfiguration(std::string menuFileName); MenuNode* MenuTree(); + xmlpp::Element* Configuration(); private: void CreateMenuTree(const xmlpp::Element* menuRoot, MenuNode* menuNode); |