summaryrefslogtreecommitdiff
path: root/channelgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'channelgroups.c')
-rw-r--r--channelgroups.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/channelgroups.c b/channelgroups.c
index 5d2d1a9..6767cee 100644
--- a/channelgroups.c
+++ b/channelgroups.c
@@ -130,6 +130,12 @@ void cChannelGroups::CreateGroupGrid(const char *name, int number, int start, in
groupGrids.Add(groupGrid);
}
+int cChannelGroups::GetLastValidChannel(void) {
+ if (channelGroups.size() > 0)
+ return channelGroups[channelGroups.size()-1].StopChannel();
+ return 0;
+}
+
void cChannelGroups::DumpGroups(void) {
for (std::vector<cChannelGroup>::iterator group = channelGroups.begin(); group!=channelGroups.end(); ++group) {
group->Dump();