cEvent no longer stores the channelID directly, but rather has a pointer to the schedule it is in

This commit is contained in:
Klaus Schmidinger
2005-05-28 10:09:06 +02:00
parent 7114258ebd
commit b4cbb84489
5 changed files with 20 additions and 13 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 1.104 2005/05/28 09:53:54 kls Exp $
* $Id: recording.c 1.105 2005/05/28 10:04:24 kls Exp $
*/
#include "recording.h"
@@ -228,7 +228,7 @@ cRecordingInfo::cRecordingInfo(const cEvent *Event)
ownEvent = NULL;
}
else
event = ownEvent = new cEvent(tChannelID(), 0);
event = ownEvent = new cEvent(NULL, 0);
}
cRecordingInfo::~cRecordingInfo()