EDCB 歯抜けパッチ、@TVTest_080
文字数制限に引っ掛かるんで、変更点だけを抜粋
タブとか抜けて見難いとは思うけど、わかる人には解るだろ。
EpgProgramList.cpp
std::set<EventTime> EventTimeTable;
+ bool fKeepOldEvents=(Flags&SERVICE_UPDATE_KEEP_OLD_EVENTS)?true:false;
//----
EventData.m_ServiceID=ServiceData.m_ServiceID;
+ EventData.m_fDatabase=fKeepOldEvents;
//----
if (!fMergeOldEvents)
- pServiceInfo->m_fMergeOldEvents=false;
+ pServiceInfo->m_fMergeOldEvents=fKeepOldEvents;//false;
//----
} else {
- pServiceInfo->m_fMergeOldEvents=false;
+ pServiceInfo->m_fMergeOldEvents=fKeepOldEvents;//false;
}
EpgProgramList.h
- SERVICE_UPDATE_DISCARD_ENDED_EVENTS = 0x0002U
+ SERVICE_UPDATE_DISCARD_ENDED_EVENTS = 0x0002U,
+ SERVICE_UPDATE_KEEP_OLD_EVENTS = 0x0004U
TVTest.cpp
- EpgProgramList.UpdateService(pEventManager,&ServiceList[i]);
+ EpgProgramList.UpdateService(pEventManager,&ServiceList[i],CEpgProgramList::SERVICE_UPDATE_KEEP_OLD_EVENTS);