Rename GetTimerValue() to GetTimer()

This commit is contained in:
kamel5 2019-11-10 14:00:02 +01:00
parent 5923c9c0ed
commit 8e26759d4e
3 changed files with 3 additions and 4 deletions

View File

@ -2692,7 +2692,7 @@ void cRecMenuItemTimelineTimer::Show(void) {
if (pixmapTimerConflicts) pixmapTimerConflicts->SetLayer(6);
}
const cTimer *cRecMenuItemTimelineTimer::GetTimerValue(void) {
const cTimer *cRecMenuItemTimelineTimer::GetTimer(void) {
return timer;
}

View File

@ -123,7 +123,6 @@ public:
virtual bool GetBoolValue(void) { return false; };
virtual cString GetStringValue(void) { return cString(""); };
virtual const cEvent *GetEvent(void) { return NULL; };
virtual const cTimer *GetTimerValue(void) { return NULL; };
virtual eRecMenuState ProcessKey(eKeys Key) { return rmsNotConsumed; };
};
@ -627,7 +626,7 @@ public:
void Hide(void);
void Show(void);
void Draw(void);
const cTimer *GetTimerValue(void);
const cTimer *GetTimer(void);
eRecMenuState ProcessKey(eKeys Key);
};

View File

@ -1400,7 +1400,7 @@ void cRecMenuTimeline::ClearMenu(void) {
const cTimer *cRecMenuTimeline::GetTimer(void) {
if (cRecMenuItemTimelineTimer *activeItem = dynamic_cast<cRecMenuItemTimelineTimer*>(GetActiveMenuItem()))
return activeItem->GetTimerValue();
return activeItem->GetTimer();
return NULL;
}