summaryrefslogtreecommitdiff
path: root/coreengine/viewelementsdisplaychannel.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-01-26 18:32:38 +0100
committerlouis <louis.braun@gmx.de>2016-01-26 18:32:38 +0100
commit809fbda03c5014ba9cd361f5113d1d717cd41ea6 (patch)
tree264bbc5640375f1bcb165fc7f4a3e595adcc26ca /coreengine/viewelementsdisplaychannel.h
parent196dd7eb9965a405bb16b51dc870fbbb31aeef87 (diff)
downloadvdr-plugin-skindesigner-809fbda03c5014ba9cd361f5113d1d717cd41ea6.tar.gz
vdr-plugin-skindesigner-809fbda03c5014ba9cd361f5113d1d717cd41ea6.tar.bz2
Version 0.8.0 beta
Diffstat (limited to 'coreengine/viewelementsdisplaychannel.h')
-rw-r--r--coreengine/viewelementsdisplaychannel.h145
1 files changed, 145 insertions, 0 deletions
diff --git a/coreengine/viewelementsdisplaychannel.h b/coreengine/viewelementsdisplaychannel.h
new file mode 100644
index 0000000..b4a2fbd
--- /dev/null
+++ b/coreengine/viewelementsdisplaychannel.h
@@ -0,0 +1,145 @@
+#ifndef __VIEWELEMENTSDC_H
+#define __VIEWELEMENTSDC_H
+
+#include "viewelement.h"
+#include "../extensions/scrapmanager.h"
+#include "../services/dvbapi.h"
+
+/******************************************************************
+* cVeDcChannelInfo
+******************************************************************/
+class cVeDcChannelInfo : public cViewElement {
+private:
+public:
+ cVeDcChannelInfo(void);
+ virtual ~cVeDcChannelInfo(void);
+ void SetTokenContainer(void);
+ void Set(const cChannel *c, int number);
+};
+/******************************************************************
+* cVeDcChannelGroup
+******************************************************************/
+class cVeDcChannelGroup : public cViewElement {
+private:
+ const char *GetChannelSep(const cChannel *c, bool prev);
+public:
+ cVeDcChannelGroup(void);
+ virtual ~cVeDcChannelGroup(void);
+ void SetTokenContainer(void);
+ void Set(const cChannel *c);
+};
+/******************************************************************
+* cVeDcEpgInfo
+******************************************************************/
+class cVeDcEpgInfo : public cViewElement {
+private:
+ bool EventHasTimer(const cEvent *e);
+public:
+ cVeDcEpgInfo(void);
+ virtual ~cVeDcEpgInfo(void);
+ void SetTokenContainer(void);
+ void Set(const cEvent *p, const cEvent *f);
+};
+/******************************************************************
+* cVeDcProgressBar
+******************************************************************/
+class cVeDcProgressBar : public cViewElement {
+private:
+ int currentLast;
+ int startTime;
+ int duration;
+ int GetLiveBuffer(void);
+public:
+ cVeDcProgressBar(void);
+ virtual ~cVeDcProgressBar(void);
+ void Close(void);
+ void SetTokenContainer(void);
+ void Set(const cEvent *p);
+ bool Parse(bool forced = false);
+};
+/******************************************************************
+* cVeDcStatusInfo
+******************************************************************/
+class cVeDcStatusInfo : public cViewElement {
+private:
+ bool CheckMails(void);
+public:
+ cVeDcStatusInfo(void);
+ virtual ~cVeDcStatusInfo(void);
+ void SetTokenContainer(void);
+ void Set(const cChannel *c);
+};
+/******************************************************************
+* cVeDcAudioInfo
+******************************************************************/
+class cVeDcAudioInfo : public cViewElement {
+private:
+ int lastNumAudioTracks;
+ int lastAudioChannel;
+ char *lastTracDesc;
+ char *lastTrackLang;
+public:
+ cVeDcAudioInfo(void);
+ virtual ~cVeDcAudioInfo(void);
+ void Close(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+/******************************************************************
+* cVeDcScreenResolution
+******************************************************************/
+class cVeDcScreenResolution : public cViewElement {
+private:
+ int lastScreenWidth;
+ int lastScreenHeight;
+public:
+ cVeDcScreenResolution(void);
+ virtual ~cVeDcScreenResolution(void);
+ void Close(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+/******************************************************************
+* cVeDcSignalQuality
+******************************************************************/
+class cVeDcSignalQuality : public cViewElement {
+private:
+ int lastSignalDisplay;
+ int lastSignalStrength;
+ int lastSignalQuality;
+public:
+ cVeDcSignalQuality(void);
+ virtual ~cVeDcSignalQuality(void);
+ void Close(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+/******************************************************************
+* cVeDcScraperContent
+******************************************************************/
+class cVeDcScraperContent : public cViewElement, public cScrapManager {
+private:
+public:
+ cVeDcScraperContent(void);
+ virtual ~cVeDcScraperContent(void);
+ void SetTokenContainer(void);
+ void Set(const cEvent *e);
+};
+/******************************************************************
+* cVeDcEcmInfo
+******************************************************************/
+class cVeDcEcmInfo : public cViewElement {
+private:
+ int channelSid;
+ sDVBAPIEcmInfo lastEcmInfo;
+ bool CompareECMInfos(sDVBAPIEcmInfo *ecmInfo);
+public:
+ cVeDcEcmInfo(void);
+ virtual ~cVeDcEcmInfo(void);
+ void Close(void);
+ void SetTokenContainer(void);
+ void Set(const cChannel *c);
+ bool Parse(bool forced = false);
+};
+
+#endif //__VIEWELEMENTSDC_H \ No newline at end of file