summaryrefslogtreecommitdiff
path: root/recmenus.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-10 13:24:22 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-06-18 17:03:15 +0200
commitc3dbae705abeb60c181bf7006263df4bdfe67019 (patch)
tree715b6a1c8b98ece59647f01badb53db7fede11f3 /recmenus.c
parent0289731158d786c0d244494e478b68ae2fdfecea (diff)
downloadvdr-plugin-tvguide-c3dbae705abeb60c181bf7006263df4bdfe67019.tar.gz
vdr-plugin-tvguide-c3dbae705abeb60c181bf7006263df4bdfe67019.tar.bz2
Rename GetActive() to GetNumActive()
Diffstat (limited to 'recmenus.c')
-rw-r--r--recmenus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/recmenus.c b/recmenus.c
index eb51caf..318e7cc 100644
--- a/recmenus.c
+++ b/recmenus.c
@@ -61,7 +61,7 @@ cRecMenuAskFolder::cRecMenuAskFolder(const cEvent *event, eRecMenuState nextActi
SetWidthPercent(80);
NextAction = nextAction;
-
+
const cString line1 = tr("Set Folder for");
const cString line2 = (event && event->Title()) ? cString::sprintf("\"%s\"", event->Title()) : "";
@@ -99,7 +99,7 @@ int cRecMenuAskFolder::GetTotalNumMenuItems(void) {
std::string cRecMenuAskFolder::GetFolder(void) {
std::string folder = "";
- int folderActive = GetActive();
+ int folderActive = GetNumActive();
if (folderActive > 0 && folderActive < (int)folders.size() + 1)
folder = folders[folderActive - 1];
return folder;
@@ -232,7 +232,7 @@ cRecMenuTimerConflicts::cRecMenuTimerConflicts(cTVGuideTimerConflicts *conflicts
}
int cRecMenuTimerConflicts::GetTimerConflict(void) {
- return GetActive();
+ return GetNumActive();
}
// --- cRecMenuTimerConflict ---------------------------------------------------------
@@ -305,7 +305,7 @@ int cRecMenuTimerConflict::GetTotalNumMenuItems(void) {
}
int cRecMenuTimerConflict::GetTimerConflictIndex(void) {
- return GetActive();
+ return GetNumActive();
}
// --- cRecMenuNoTimerConflict ---------------------------------------------------------
@@ -660,7 +660,7 @@ int cRecMenuSearchTimerTemplates::GetTotalNumMenuItems(void) {
TVGuideEPGSearchTemplate cRecMenuSearchTimerTemplates::GetTemplate(void) {
TVGuideEPGSearchTemplate templ;
- int tmplActive = GetActive() - 1;
+ int tmplActive = GetNumActive() - 1;
if (tmplActive >= 0 && tmplActive < (int)templates.size())
templ = templates[tmplActive];
return templ;