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;
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) {

View File

@ -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() {};
};

View File

@ -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) {

View File

@ -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();