diff options
author | louis <louis.braun@gmx.de> | 2013-05-31 13:58:22 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-31 13:58:22 +0200 |
commit | 4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b (patch) | |
tree | 399aebc6fa54aad39fe3e712f44aa7ec3275f783 /channelgroups.h | |
parent | 4f93ac2516dacdec5e142aaf60a06c6e1c16daf3 (diff) | |
download | vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.gz vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.bz2 |
Added channel group support
Diffstat (limited to 'channelgroups.h')
-rw-r--r-- | channelgroups.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/channelgroups.h b/channelgroups.h new file mode 100644 index 0000000..3bab829 --- /dev/null +++ b/channelgroups.h @@ -0,0 +1,25 @@ +#ifndef __TVGUIDE_CHANNELGROUPS_H +#define __TVGUIDE_CHANNELGROUPS_H + +// --- cChannelGroups ------------------------------------------------------------- + +class cChannelGroups { +private: + std::vector<cChannelGroup> channelGroups; + cList<cChannelGroupGrid> groupGrids; +public: + cChannelGroups(void); + virtual ~cChannelGroups(void); + void ReadChannelGroups(void); + const char* GetPrev(int group); + const char* GetNext(int group); + int GetGroup(const cChannel *channel); + int GetPrevGroupChannelNumber(const cChannel *channel); + int GetNextGroupChannelNumber(const cChannel *channel); + bool IsInLastGroup(const cChannel *channel); + void DrawChannelGroups(const cChannel *start, const cChannel *stop); + void CreateGroupGrid(const char *name, int number, int start, int end); + void DumpGroups(void); +}; + +#endif //__TVGUIDE_CHANNELGROUPS_H |