mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
				synced 2023-10-05 13:01:48 +00:00 
			
		
		
		
	Rename GetEventValue() to GetEvent()
This commit is contained in:
		| @@ -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); | ||||
| }; | ||||
|   | ||||
| @@ -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; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user