summaryrefslogtreecommitdiff
path: root/src/xmlmenu.h
diff options
context:
space:
mode:
authorsvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-07-27 00:15:22 +0000
committersvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-07-27 00:15:22 +0000
commitea5503c121b54a050649a992e42a38381a38ff59 (patch)
treefe0a799e34cbdfc49cc02cb9b8d97d1865020390 /src/xmlmenu.h
parent2f31c080593497987c6bdab15d2e8018c02f5c50 (diff)
downloadvdr-plugin-menuorg-ea5503c121b54a050649a992e42a38381a38ff59.tar.gz
vdr-plugin-menuorg-ea5503c121b54a050649a992e42a38381a38ff59.tar.bz2
xmlmenu.[h,cpp] created and the first parts hacked
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/submenu/trunk@5646 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/xmlmenu.h')
-rw-r--r--src/xmlmenu.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/xmlmenu.h b/src/xmlmenu.h
new file mode 100644
index 0000000..eb9dd77
--- /dev/null
+++ b/src/xmlmenu.h
@@ -0,0 +1,19 @@
+#ifndef ___XMLMENU_H
+#define ___XMLMENU_H
+
+#include "menunode.h"
+
+class XmlMenu
+{
+ private:
+ //void createMenu(); // create the Menu Node
+ void parseNode(const Node *a_node, unsigned int Parent);
+ eOSState geteOSState(char* name); // gets the eOSState for the given string
+ int getPluginIndex(char* name); // gets the plugin index for the given string
+ public:
+ MenuNode _rootMenuNode; // hold the Menue Node
+ XmlMenu (void);
+ void loadXmlMenu(); // load the xmlfile
+};
+
+#endif