mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Added SetComponents() to the EPG handler interface
This commit is contained in:
		
							
								
								
									
										11
									
								
								epg.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								epg.c
									
									
									
									
									
								
							| @@ -7,7 +7,7 @@ | ||||
|  * Original version (as used in VDR before 1.3.0) written by | ||||
|  * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. | ||||
|  * | ||||
|  * $Id: epg.c 2.16 2012/06/04 10:06:22 kls Exp $ | ||||
|  * $Id: epg.c 2.17 2012/06/04 10:26:10 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "epg.h" | ||||
| @@ -1421,6 +1421,15 @@ void cEpgHandlers::SetVps(cEvent *Event, time_t Vps) | ||||
|   Event->SetVps(Vps); | ||||
| } | ||||
|  | ||||
| void cEpgHandlers::SetComponents(cEvent *Event, cComponents *Components) | ||||
| { | ||||
|   for (cEpgHandler *eh = First(); eh; eh = Next(eh)) { | ||||
|       if (eh->SetComponents(Event, Components)) | ||||
|          return; | ||||
|       } | ||||
|   Event->SetComponents(Components); | ||||
| } | ||||
|  | ||||
| void cEpgHandlers::FixEpgBugs(cEvent *Event) | ||||
| { | ||||
|   for (cEpgHandler *eh = First(); eh; eh = Next(eh)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user