summaryrefslogtreecommitdiff
path: root/menu_whatson.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu_whatson.h')
-rw-r--r--menu_whatson.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/menu_whatson.h b/menu_whatson.h
index a30a5ab..75595e8 100644
--- a/menu_whatson.h
+++ b/menu_whatson.h
@@ -40,11 +40,24 @@ public:
cMenuTemplate* menuTemplate;
cMenuMyScheduleItem(const cEvent *Event, cChannel *Channel = NULL, showMode ShowMode = showNow, cMenuTemplate* menuTemplate = NULL);
- bool Update(bool Force = false);
+ virtual bool Update(bool Force = false);
virtual void SetMenuItem(cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable);
};
+// --- cMenuMyScheduleSepItem ------------------------------------------------------
+class cMenuMyScheduleSepItem : public cMenuMyScheduleItem {
+ cEvent *dummyEvent; // this event is used to store the text of the separator in its title
+ // to pass it in SetMenuItem via the event argument. Would be nice
+ // if VDR had a SetItemSeparator function for this
+public:
+
+ cMenuMyScheduleSepItem(const cEvent *Event, cChannel *Channel = NULL);
+ ~cMenuMyScheduleSepItem();
+ virtual bool Update(bool Force = false);
+ virtual void SetMenuItem(cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable);
+};
+
// --- cMenuWhatsOnSearch ----------------------------------------------------------
class cMenuWhatsOnSearch : public cOsdMenu {
private: