diff --git a/channelepg.c b/channelepg.c index d915386..f1e9f99 100644 --- a/channelepg.c +++ b/channelepg.c @@ -214,7 +214,7 @@ void cChannelEpg::AddNewGridsAtStart() { const cSchedule *Schedule = NULL; Schedule = schedules->GetSchedule(channel); if (!Schedule) { - if (firstGrid->isDummy()) { + if (firstGrid->IsDummy()) { firstGrid->SetStartTime(timeManager->GetStart()); firstGrid->SetEndTime(timeManager->GetEnd()); } @@ -238,7 +238,7 @@ void cChannelEpg::AddNewGridsAtStart() { } if (dummyNeeded) { firstGrid = grids.First(); - if (firstGrid->isDummy()) { + if (firstGrid->IsDummy()) { firstGrid->SetStartTime(timeManager->GetStart()); if (firstGrid->EndTime() >= timeManager->GetEnd()) firstGrid->SetEndTime(timeManager->GetEnd()); @@ -270,7 +270,7 @@ void cChannelEpg::AddNewGridsAtEnd() { const cSchedule *Schedule = NULL; Schedule = schedules->GetSchedule(channel); if (!Schedule) { - if (lastGrid->isDummy()) { + if (lastGrid->IsDummy()) { lastGrid->SetStartTime(timeManager->GetStart()); lastGrid->SetEndTime(timeManager->GetEnd()); } @@ -293,7 +293,7 @@ void cChannelEpg::AddNewGridsAtEnd() { } if (dummyNeeded) { lastGrid = grids.Last(); - if (lastGrid->isDummy()) { + if (lastGrid->IsDummy()) { lastGrid->SetEndTime(timeManager->GetEnd()); if (lastGrid->StartTime() <= timeManager->GetStart()) lastGrid->SetStartTime(timeManager->GetStart()); @@ -313,7 +313,7 @@ void cChannelEpg::ClearOutdatedStart() { grids.Del(firstGrid); firstGrid = NULL; } else { - if (firstGrid->isDummy()) { + if (firstGrid->IsDummy()) { firstGrid->SetStartTime(timeManager->GetStart()); cGridElement *next = getNext(firstGrid); if (next) { @@ -337,7 +337,7 @@ void cChannelEpg::ClearOutdatedEnd() { grids.Del(lastGrid); lastGrid = NULL; } else { - if (lastGrid->isDummy()) { + if (lastGrid->IsDummy()) { lastGrid->SetEndTime(timeManager->GetEnd()); cGridElement *prev = getPrev(lastGrid); if (prev) { diff --git a/gridelement.h b/gridelement.h index 22744ec..e583d87 100644 --- a/gridelement.h +++ b/gridelement.h @@ -51,7 +51,7 @@ public: bool Active(void) { return active; }; bool HasTimer(void) {return hasTimer;}; bool HasSwitchTimer(void) {return hasSwitchTimer;}; - bool isDummy(void) { return dummy; }; + bool IsDummy(void) { return dummy; }; virtual void debug() {}; }; diff --git a/statusheader.c b/statusheader.c index 62de300..551c94a 100644 --- a/statusheader.c +++ b/statusheader.c @@ -63,7 +63,7 @@ void cStatusHeader::DrawInfoText(cGridElement *grid) { pixmapText->Fill(clrTransparent); int x = border; int y = border; - if (!grid->isDummy()) { + if (!grid->IsDummy()) { const cEvent *event = grid->GetEvent(); int newX = DrawPoster(event, x, y, height-2*border, border); if (newX > 0) { diff --git a/tvguideosd.c b/tvguideosd.c index 20f9f83..952a5e5 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -468,7 +468,7 @@ void cTvGuideOsd::processKeyRight() { } void cTvGuideOsd::processKeyRed() { - if ((activeGrid == NULL) || activeGrid->isDummy()) + if ((activeGrid == NULL) || activeGrid->IsDummy()) return; recMenuView->Start(activeGrid->GetEvent()); } @@ -613,7 +613,7 @@ eOSState cTvGuideOsd::ChannelSwitch(bool *alreadyUnlocked) { } void cTvGuideOsd::DetailedEPG() { - if (!activeGrid->isDummy()) { + if (!activeGrid->IsDummy()) { detailViewActive = true; detailView = new cDetailView(activeGrid->GetEvent(), footer); footer->SetDetailedViewMode();