vdr  1.7.31
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cMenuSchedule Class Reference

Public Member Functions

 cMenuSchedule (void)
virtual ~cMenuSchedule ()
virtual eOSState ProcessKey (eKeys Key)
- Public Member Functions inherited from cOsdMenu
 cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0)
virtual ~cOsdMenu ()
virtual bool NeedsFastResponse (void)
void SetMenuCategory (eMenuCategory MenuCategory)
int Current (void) const
void Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL)
void Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL)
virtual void Display (void)
 cOsdMenu (const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0)
virtual ~cOsdMenu ()
virtual bool NeedsFastResponse (void)
void SetMenuCategory (eMenuCategory MenuCategory)
int Current (void) const
void Add (cOsdItem *Item, bool Current=false, cOsdItem *After=NULL)
void Ins (cOsdItem *Item, bool Current=false, cOsdItem *Before=NULL)
virtual void Display (void)
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
virtual ~cOsdObject ()
bool IsMenu (void) const
virtual void Show (void)
 cOsdObject (bool FastResponse=false)
virtual ~cOsdObject ()
bool IsMenu (void) const
virtual void Show (void)
- Public Member Functions inherited from cList< cOsdItem >
cOsdItemGet (int Index) const
cOsdItemGet (int Index) const
cOsdItemFirst (void) const
cOsdItemFirst (void) const
cOsdItemLast (void) const
cOsdItemLast (void) const
cOsdItemPrev (const cOsdItem *object) const
cOsdItemPrev (const cOsdItem *object) const
cOsdItemNext (const cOsdItem *object) const
cOsdItemNext (const cOsdItem *object) const
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
int Count (void) const
void Sort (void)
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
int Count (void) const
void Sort (void)

Private Member Functions

eOSState Number (void)
eOSState Record (void)
eOSState Switch (void)
void PrepareScheduleAllThis (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleThisThis (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleThisAll (const cEvent *Event, const cChannel *Channel)
void PrepareScheduleAllAll (const cEvent *Event, const cChannel *Channel)
bool Update (void)
void SetHelpKeys (void)

Private Attributes

cSchedulesLock schedulesLock
const cSchedulesschedules
bool now
bool next
int otherChannel
int helpKeys
int timerState

Additional Inherited Members

- Protected Member Functions inherited from cOsdMenu
void SetDisplayMenu (void)
cSkinDisplayMenuDisplayMenu (void)
const char * hk (const char *s)
void SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0)
void SetHasHotkeys (bool HasHotkeys=true)
virtual void Clear (void)
const char * Title (void)
bool SelectableItem (int idx)
void SetCurrent (cOsdItem *Item)
void RefreshCurrent (void)
void DisplayCurrent (bool Current)
void DisplayItem (cOsdItem *Item)
void CursorUp (void)
void CursorDown (void)
void PageUp (void)
void PageDown (void)
void Mark (void)
eOSState HotKey (eKeys Key)
eOSState AddSubMenu (cOsdMenu *SubMenu)
eOSState CloseSubMenu ()
bool HasSubMenu (void)
cOsdMenuSubMenu (void)
void SetStatus (const char *s)
void SetTitle (const char *Title)
void SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
virtual void Del (int Index)
void SetDisplayMenu (void)
cSkinDisplayMenuDisplayMenu (void)
const char * hk (const char *s)
void SetCols (int c0, int c1=0, int c2=0, int c3=0, int c4=0)
void SetHasHotkeys (bool HasHotkeys=true)
virtual void Clear (void)
const char * Title (void)
bool SelectableItem (int idx)
void SetCurrent (cOsdItem *Item)
void RefreshCurrent (void)
void DisplayCurrent (bool Current)
void DisplayItem (cOsdItem *Item)
void CursorUp (void)
void CursorDown (void)
void PageUp (void)
void PageDown (void)
void Mark (void)
eOSState HotKey (eKeys Key)
eOSState AddSubMenu (cOsdMenu *SubMenu)
eOSState CloseSubMenu ()
bool HasSubMenu (void)
cOsdMenuSubMenu (void)
void SetStatus (const char *s)
void SetTitle (const char *Title)
void SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
virtual void Del (int Index)
- Protected Attributes inherited from cListBase
cListObjectobjects
cListObjectlastObject
int count

Detailed Description

Definition at line 1685 of file menu.c.

Constructor & Destructor Documentation

cMenuSchedule::cMenuSchedule ( void  )
cMenuSchedule::~cMenuSchedule ( )
virtual

Definition at line 1727 of file menu.c.

References cMenuWhatsOn::ScheduleEvent().

Member Function Documentation

eOSState cMenuSchedule::Number ( void  )
private
void cMenuSchedule::PrepareScheduleAllAll ( const cEvent Event,
const cChannel Channel 
)
private
void cMenuSchedule::PrepareScheduleAllThis ( const cEvent Event,
const cChannel Channel 
)
private
void cMenuSchedule::PrepareScheduleThisAll ( const cEvent Event,
const cChannel Channel 
)
private
void cMenuSchedule::PrepareScheduleThisThis ( const cEvent Event,
const cChannel Channel 
)
private
eOSState cMenuSchedule::ProcessKey ( eKeys  Key)
virtual
eOSState cMenuSchedule::Record ( void  )
private
void cMenuSchedule::SetHelpKeys ( void  )
private
eOSState cMenuSchedule::Switch ( void  )
private

Definition at line 1893 of file menu.c.

References Channels, cSkins::Message(), mtError, osContinue, osEnd, otherChannel, Skins, cChannels::SwitchTo(), and tr.

Referenced by ProcessKey().

bool cMenuSchedule::Update ( void  )
private

Definition at line 1805 of file menu.c.

References cList< cOsdItem >::First(), cTimers::Modified(), cList< cOsdItem >::Next(), Timers, and timerState.

Referenced by ProcessKey(), and Record().

Member Data Documentation

int cMenuSchedule::helpKeys
private

Definition at line 1691 of file menu.c.

Referenced by cMenuSchedule(), and SetHelpKeys().

bool cMenuSchedule::next
private

Definition at line 1689 of file menu.c.

Referenced by cMenuSchedule(), and ProcessKey().

bool cMenuSchedule::now
private
int cMenuSchedule::otherChannel
private

Definition at line 1690 of file menu.c.

Referenced by cMenuSchedule(), ProcessKey(), and Switch().

const cSchedules* cMenuSchedule::schedules
private
cSchedulesLock cMenuSchedule::schedulesLock
private

Definition at line 1687 of file menu.c.

Referenced by cMenuSchedule().

int cMenuSchedule::timerState
private

Definition at line 1692 of file menu.c.

Referenced by cMenuSchedule(), and Update().


The documentation for this class was generated from the following file: