Rename isDummy() to IsDummy()

This commit is contained in:
kamel5 2019-11-10 17:13:43 +01:00
parent 93af9304c8
commit 00ea3fb5ff
4 changed files with 10 additions and 10 deletions

View File

@ -214,7 +214,7 @@ void cChannelEpg::AddNewGridsAtStart() {
const cSchedule *Schedule = NULL; const cSchedule *Schedule = NULL;
Schedule = schedules->GetSchedule(channel); Schedule = schedules->GetSchedule(channel);
if (!Schedule) { if (!Schedule) {
if (firstGrid->isDummy()) { if (firstGrid->IsDummy()) {
firstGrid->SetStartTime(timeManager->GetStart()); firstGrid->SetStartTime(timeManager->GetStart());
firstGrid->SetEndTime(timeManager->GetEnd()); firstGrid->SetEndTime(timeManager->GetEnd());
} }
@ -238,7 +238,7 @@ void cChannelEpg::AddNewGridsAtStart() {
} }
if (dummyNeeded) { if (dummyNeeded) {
firstGrid = grids.First(); firstGrid = grids.First();
if (firstGrid->isDummy()) { if (firstGrid->IsDummy()) {
firstGrid->SetStartTime(timeManager->GetStart()); firstGrid->SetStartTime(timeManager->GetStart());
if (firstGrid->EndTime() >= timeManager->GetEnd()) if (firstGrid->EndTime() >= timeManager->GetEnd())
firstGrid->SetEndTime(timeManager->GetEnd()); firstGrid->SetEndTime(timeManager->GetEnd());
@ -270,7 +270,7 @@ void cChannelEpg::AddNewGridsAtEnd() {
const cSchedule *Schedule = NULL; const cSchedule *Schedule = NULL;
Schedule = schedules->GetSchedule(channel); Schedule = schedules->GetSchedule(channel);
if (!Schedule) { if (!Schedule) {
if (lastGrid->isDummy()) { if (lastGrid->IsDummy()) {
lastGrid->SetStartTime(timeManager->GetStart()); lastGrid->SetStartTime(timeManager->GetStart());
lastGrid->SetEndTime(timeManager->GetEnd()); lastGrid->SetEndTime(timeManager->GetEnd());
} }
@ -293,7 +293,7 @@ void cChannelEpg::AddNewGridsAtEnd() {
} }
if (dummyNeeded) { if (dummyNeeded) {
lastGrid = grids.Last(); lastGrid = grids.Last();
if (lastGrid->isDummy()) { if (lastGrid->IsDummy()) {
lastGrid->SetEndTime(timeManager->GetEnd()); lastGrid->SetEndTime(timeManager->GetEnd());
if (lastGrid->StartTime() <= timeManager->GetStart()) if (lastGrid->StartTime() <= timeManager->GetStart())
lastGrid->SetStartTime(timeManager->GetStart()); lastGrid->SetStartTime(timeManager->GetStart());
@ -313,7 +313,7 @@ void cChannelEpg::ClearOutdatedStart() {
grids.Del(firstGrid); grids.Del(firstGrid);
firstGrid = NULL; firstGrid = NULL;
} else { } else {
if (firstGrid->isDummy()) { if (firstGrid->IsDummy()) {
firstGrid->SetStartTime(timeManager->GetStart()); firstGrid->SetStartTime(timeManager->GetStart());
cGridElement *next = getNext(firstGrid); cGridElement *next = getNext(firstGrid);
if (next) { if (next) {
@ -337,7 +337,7 @@ void cChannelEpg::ClearOutdatedEnd() {
grids.Del(lastGrid); grids.Del(lastGrid);
lastGrid = NULL; lastGrid = NULL;
} else { } else {
if (lastGrid->isDummy()) { if (lastGrid->IsDummy()) {
lastGrid->SetEndTime(timeManager->GetEnd()); lastGrid->SetEndTime(timeManager->GetEnd());
cGridElement *prev = getPrev(lastGrid); cGridElement *prev = getPrev(lastGrid);
if (prev) { if (prev) {

View File

@ -51,7 +51,7 @@ public:
bool Active(void) { return active; }; bool Active(void) { return active; };
bool HasTimer(void) {return hasTimer;}; bool HasTimer(void) {return hasTimer;};
bool HasSwitchTimer(void) {return hasSwitchTimer;}; bool HasSwitchTimer(void) {return hasSwitchTimer;};
bool isDummy(void) { return dummy; }; bool IsDummy(void) { return dummy; };
virtual void debug() {}; virtual void debug() {};
}; };

View File

@ -63,7 +63,7 @@ void cStatusHeader::DrawInfoText(cGridElement *grid) {
pixmapText->Fill(clrTransparent); pixmapText->Fill(clrTransparent);
int x = border; int x = border;
int y = border; int y = border;
if (!grid->isDummy()) { if (!grid->IsDummy()) {
const cEvent *event = grid->GetEvent(); const cEvent *event = grid->GetEvent();
int newX = DrawPoster(event, x, y, height-2*border, border); int newX = DrawPoster(event, x, y, height-2*border, border);
if (newX > 0) { if (newX > 0) {

View File

@ -468,7 +468,7 @@ void cTvGuideOsd::processKeyRight() {
} }
void cTvGuideOsd::processKeyRed() { void cTvGuideOsd::processKeyRed() {
if ((activeGrid == NULL) || activeGrid->isDummy()) if ((activeGrid == NULL) || activeGrid->IsDummy())
return; return;
recMenuView->Start(activeGrid->GetEvent()); recMenuView->Start(activeGrid->GetEvent());
} }
@ -613,7 +613,7 @@ eOSState cTvGuideOsd::ChannelSwitch(bool *alreadyUnlocked) {
} }
void cTvGuideOsd::DetailedEPG() { void cTvGuideOsd::DetailedEPG() {
if (!activeGrid->isDummy()) { if (!activeGrid->IsDummy()) {
detailViewActive = true; detailViewActive = true;
detailView = new cDetailView(activeGrid->GetEvent(), footer); detailView = new cDetailView(activeGrid->GetEvent(), footer);
footer->SetDetailedViewMode(); footer->SetDetailedViewMode();