summaryrefslogtreecommitdiff
path: root/src/xmlmenu.h
diff options
context:
space:
mode:
authorsvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-07-27 22:29:20 +0000
committersvntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-07-27 22:29:20 +0000
commit0cf4f7defaca6e05f264e708d4b7466440466859 (patch)
treea6095cce25d441e3eaa0412441de28b7d39b69f7 /src/xmlmenu.h
parent1bd05f5ef4ca894c09b2eedec36d15504c368f33 (diff)
downloadvdr-plugin-menuorg-0cf4f7defaca6e05f264e708d4b7466440466859.tar.gz
vdr-plugin-menuorg-0cf4f7defaca6e05f264e708d4b7466440466859.tar.bz2
made it work
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/submenu/trunk@5658 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/xmlmenu.h')
-rw-r--r--src/xmlmenu.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/xmlmenu.h b/src/xmlmenu.h
index bbae9b0..3775e9c 100644
--- a/src/xmlmenu.h
+++ b/src/xmlmenu.h
@@ -6,19 +6,13 @@
using namespace xmlpp;
-struct PluginItemAndIndex
-{
- const char* item;
- int index;
-};
-
class XmlMenu
{
private:
//void createMenu(); // create the Menu Node
- void parseNode(const Node* a_node, unsigned int Parent, unsigned int ItemIndex, unsigned int MenuIndex);
+ void parseNode(const Element* a_node, MenuNode* menuNode);
eOSState geteOSState(const Glib::ustring& name); // gets the eOSState for the given string
- PluginItemAndIndex* getPlugin(const Glib::ustring& name); // gets the plugin for the given string
+ bool FindPluginByName(std::string name, const char** mainMenuEntry, int& pluginIndex); // gets the plugin for the given string
MenuNode* _subMenu[30]; // holds the submenus
int MenuCount;