Rename GetEventValue() to GetEvent()

This commit is contained in:
kamel5 2019-11-10 13:45:48 +01:00
parent c3dbae705a
commit 018a8946b7
2 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@ public:
virtual time_t GetTimeValue(void) { return 0; };
virtual bool GetBoolValue(void) { return false; };
virtual cString GetStringValue(void) { return cString(""); };
virtual const cEvent *GetEventValue(void) { return NULL; };
virtual const cEvent *GetEvent(void) { return NULL; };
virtual const cTimer *GetTimerValue(void) { return NULL; };
virtual eRecMenuState ProcessKey(eKeys Key) { return rmsNotConsumed; };
};
@ -487,7 +487,7 @@ public:
void SetPixmaps(void);
void Hide(void);
void Show(void);
const cEvent *GetEventValue(void) { return event; };
const cEvent *GetEvent(void) { return event; };
eRecMenuState ProcessKey(eKeys Key);
void Draw(void);
};

View File

@ -362,7 +362,7 @@ int cRecMenuRerunResults::GetTotalNumMenuItems(void) {
const cEvent *cRecMenuRerunResults::GetRerunEvent(void) {
if (cRecMenuItemEvent *activeItem = dynamic_cast<cRecMenuItemEvent*>(GetActiveMenuItem()))
return activeItem->GetEventValue();
return activeItem->GetEvent();
return NULL;
}
@ -1067,7 +1067,7 @@ int cRecMenuSearchTimerResults::GetTotalNumMenuItems(void) {
const cEvent *cRecMenuSearchTimerResults::GetEvent(void) {
if (cRecMenuItemEvent *activeItem = dynamic_cast<cRecMenuItemEvent*>(GetActiveMenuItem()))
return activeItem->GetEventValue();
return activeItem->GetEvent();
return NULL;
}
@ -1241,7 +1241,7 @@ int cRecMenuSearchResults::GetTotalNumMenuItems(void) {
const cEvent *cRecMenuSearchResults::GetEvent(void) {
if (cRecMenuItemEvent *activeItem = dynamic_cast<cRecMenuItemEvent*>(GetActiveMenuItem()))
return activeItem->GetEventValue();
return activeItem->GetEvent();
return NULL;
}