Ticket #5954: dynamic_menus_h.patch

File dynamic_menus_h.patch, 972 bytes (added by andrei@…, 17 years ago)

MENUEXEC part of the patch for the header file

  • libs/libmythui/myththemedmenu.h

     
    5757    void CopyFrom(MythUIType*);
    5858};
    5959
     60class QDomDocument;
     61
    6062/// \brief Themed menu class, used for main menus in %MythTV frontend
    6163class MPUBLIC MythThemedMenu : public MythThemedMenuState
    6264{
     
    8587    void buttonAction(MythUIButtonListItem* item);
    8688
    8789  private:
    88     void Init(const QString &menufile);
     90    MythThemedMenu(const QString command, MythScreenStack *parent,
     91                    MythThemedMenuState *state);
    8992
     93    void Init(MythScreenStack *parent, MythThemedMenuState *state);
     94
    9095    bool parseMenu(const QString &menuname);
     96    bool parseMenu(const QDomDocument &doc, const QString &menuname);
    9197    void parseThemeButton(QDomElement &element);
    9298
    9399    void addButton(const QString &type, const QString &text,