summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-10 17:13:43 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-06-18 17:03:15 +0200
commit00ea3fb5ffc0be40ea0bd90fb41aaa07cd0a301c (patch)
tree4c5b0deca9414d362542f83266fdfca44a051968
parent93af9304c8d798e71f86fc5166cc4d323ed0f9f6 (diff)
downloadvdr-plugin-tvguide-00ea3fb5ffc0be40ea0bd90fb41aaa07cd0a301c.tar.gz
vdr-plugin-tvguide-00ea3fb5ffc0be40ea0bd90fb41aaa07cd0a301c.tar.bz2
Rename isDummy() to IsDummy()
-rw-r--r--channelepg.c12
-rw-r--r--gridelement.h2
-rw-r--r--statusheader.c2
-rw-r--r--tvguideosd.c4
4 files changed, 10 insertions, 10 deletions
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();