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 /channelgroup.h | |
parent | 4f93ac2516dacdec5e142aaf60a06c6e1c16daf3 (diff) | |
download | vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.gz vdr-plugin-tvguide-4f960c48cb2d99a78ac0fa8ee1dd687fd213ef2b.tar.bz2 |
Added channel group support
Diffstat (limited to 'channelgroup.h')
-rw-r--r-- | channelgroup.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/channelgroup.h b/channelgroup.h new file mode 100644 index 0000000..62589b0 --- /dev/null +++ b/channelgroup.h @@ -0,0 +1,38 @@ +#ifndef __TVGUIDE_CHANNELGROUP_H
+#define __TVGUIDE_CHANNELGROUP_H
+
+// --- cChannelGroup -------------------------------------------------------------
+
+class cChannelGroup {
+private:
+ int channelStart;
+ int channelStop;
+ const char *name;
+public:
+ cChannelGroup(const char *name);
+ virtual ~cChannelGroup(void);
+ void SetChannelStart(int start) { channelStart = start; };
+ int StartChannel(void) { return channelStart; };
+ void SetChannelStop(int stop) { channelStop = stop; };
+ int StopChannel(void) { return channelStop; };
+ const char* GetName(void) { return name; };
+ void Dump(void);
+};
+
+// --- cChannelGroupGrid -------------------------------------------------------------
+
+class cChannelGroupGrid : public cListObject, public cStyledPixmap {
+private:
+ const char *name;
+ bool isColor1;
+public:
+ cChannelGroupGrid(const char *name);
+ virtual ~cChannelGroupGrid(void);
+ void SetColor(bool color) {isColor1 = color;};
+ void SetBackground(void);
+ void SetGeometry(int start, int end);
+ void Draw(void);
+};
+
+
+#endif //__TVGUIDE_CHANNELGROUP_H
|