summaryrefslogtreecommitdiff
path: root/coreengine/viewelementsdisplaymenu.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-02-06 09:55:15 +0100
committerlouis <louis.braun@gmx.de>2016-02-06 09:55:15 +0100
commitac0e6dbc8d1ea8fd24712dd03fea154cea6a7135 (patch)
tree3f8ab3640f7c0645592c8bbd0d4ce34821816ad7 /coreengine/viewelementsdisplaymenu.h
parent8ef68f8ab82e511ad0df96a910daa1547923633b (diff)
downloadvdr-plugin-skindesigner-ac0e6dbc8d1ea8fd24712dd03fea154cea6a7135.tar.gz
vdr-plugin-skindesigner-ac0e6dbc8d1ea8fd24712dd03fea154cea6a7135.tar.bz2
fixed line breaks
Diffstat (limited to 'coreengine/viewelementsdisplaymenu.h')
-rw-r--r--coreengine/viewelementsdisplaymenu.h498
1 files changed, 249 insertions, 249 deletions
diff --git a/coreengine/viewelementsdisplaymenu.h b/coreengine/viewelementsdisplaymenu.h
index 20b1bed..600af91 100644
--- a/coreengine/viewelementsdisplaymenu.h
+++ b/coreengine/viewelementsdisplaymenu.h
@@ -1,250 +1,250 @@
-#ifndef __VIEWELEMENTSDM_H
-#define __VIEWELEMENTSDM_H
-
-#include "viewelement.h"
-#include "../extensions/scrapmanager.h"
-
-/******************************************************************
-* cVeDmHeader
-******************************************************************/
-class cVeDmHeader : public cViewElement {
-private:
- char *title;
- char *channelName;
- int channelNumber;
- char *channelId;
- bool epgSearchFav;
-public:
- cVeDmHeader(void);
- virtual ~cVeDmHeader(void);
- void SetTokenContainer(void);
- void SetTitle(const char *title);
- void SetChannel(const cChannel *channel);
- void Set(eMenuCategory menuCat);
- void IsEpgSearchFav(bool isFav) { epgSearchFav = isFav;} ;
-};
-
-/******************************************************************
-* cVeDmSortmode
-******************************************************************/
-class cVeDmSortmode : public cViewElement {
-private:
- eMenuSortMode sortMode;
- eMenuSortMode lastSortMode;
-public:
- cVeDmSortmode(void);
- virtual ~cVeDmSortmode(void);
- void Reset(void) { lastSortMode = msmUnknown; }
- void SetTokenContainer(void);
- void Set(eMenuSortMode sortMode);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmColorbuttons
-******************************************************************/
-class cVeDmColorbuttons : public cViewElement {
-private:
- bool changed;
- char *red;
- char *green;
- char *yellow;
- char *blue;
-public:
- cVeDmColorbuttons(void);
- virtual ~cVeDmColorbuttons(void);
- void SetTokenContainer(void);
- void SetButtons(const char *red, const char *green, const char *yellow, const char *blue);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmScrollbar
-******************************************************************/
-class cVeDmScrollbar : public cViewElement {
-private:
-public:
- cVeDmScrollbar(void);
- virtual ~cVeDmScrollbar(void);
- void SetTokenContainer(void);
- void SetList(int numDisplayed, int offset, int numMax);
- void SetDetail(int height, int offset, bool end);
-};
-
-
-/******************************************************************
-* cVeDmTimers
-******************************************************************/
-class cVeDmTimers : public cViewElement {
-private:
- int timerIndex;
-public:
- cVeDmTimers(void);
- virtual ~cVeDmTimers(void);
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmCurrentschedule
-******************************************************************/
-class cVeDmCurrentschedule : public cViewElement, public cScrapManager {
-private:
- const char *rec;
- void ParseFromChannel(const cChannel *channel);
- void ParseFromRecording(const cRecording *recording);
- void RecName(string &path, string &name, string &folder);
-public:
- cVeDmCurrentschedule(void);
- virtual ~cVeDmCurrentschedule(void);
- void SetTokenContainer(void);
- void SetRecording(const char *currentRec);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmDiscusage
-******************************************************************/
-class cVeDmDiscusage : public cViewElement {
-private:
-public:
- cVeDmDiscusage(void);
- virtual ~cVeDmDiscusage(void);
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmSystemload
-******************************************************************/
-class cVeDmSystemload : public cViewElement {
-private:
- double lastSystemLoad;
-public:
- cVeDmSystemload(void);
- virtual ~cVeDmSystemload(void);
- void Reset(void) { lastSystemLoad = -1.0f; }
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmSystemmemory
-******************************************************************/
-class cVeDmSystemmemory : public cViewElement {
-private:
- int lastMemUsage;
-public:
- cVeDmSystemmemory(void);
- virtual ~cVeDmSystemmemory(void);
- void Reset(void) { lastMemUsage = -1; }
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmTemperatures
-******************************************************************/
-class cVeDmTemperatures : public cViewElement {
-private:
- int lastCpuTemp;
- int lastGpuTemp;
-public:
- cVeDmTemperatures(void);
- virtual ~cVeDmTemperatures(void);
- void Reset(void) { lastCpuTemp = -1; lastGpuTemp = -1; }
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmVdrstatistics
-******************************************************************/
-class cVeDmVdrstatistics : public cViewElement {
-private:
- string lastVdrCPU;
- string lastVdrMEM;
-public:
- cVeDmVdrstatistics(void);
- virtual ~cVeDmVdrstatistics(void);
- void Reset(void) { lastVdrCPU = "undefined"; lastVdrMEM = "undefined"; }
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmLastrecordings
-******************************************************************/
-class cVeDmLastrecordings : public cViewElement, public cScrapManager {
-private:
- int recIndex;
- void RecName(string &path, string &name, string &folder);
-public:
- cVeDmLastrecordings(void);
- virtual ~cVeDmLastrecordings(void);
- void SetTokenContainer(void);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmDetailheaderEpg
-******************************************************************/
-class cVeDmDetailheaderEpg : public cViewElement, public cScrapManager {
-private:
- const cEvent *event;
-public:
- cVeDmDetailheaderEpg(void);
- virtual ~cVeDmDetailheaderEpg(void);
- void SetTokenContainer(void);
- void SetEvent(const cEvent *event);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmDetailheaderRec
-******************************************************************/
-class cVeDmDetailheaderRec : public cViewElement, public cScrapManager {
-private:
- const cRecording *recording;
-public:
- cVeDmDetailheaderRec(void);
- virtual ~cVeDmDetailheaderRec(void);
- void SetTokenContainer(void);
- void SetRecording(const cRecording *rec);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmDetailheaderPlugin
-******************************************************************/
-class cVeDmDetailheaderPlugin : public cViewElement {
-private:
- int plugId;
- int plugMenuId;
-public:
- cVeDmDetailheaderPlugin(void);
- virtual ~cVeDmDetailheaderPlugin(void);
- void SetPlugId(int id) { plugId = id; };
- void SetPlugMenuId(int id) { plugMenuId = id; };
- void SetTokenContainer(void);
- void Set(skindesignerapi::cTokenContainer *tk);
- bool Parse(bool forced = false);
-};
-
-/******************************************************************
-* cVeDmTablabels
-******************************************************************/
-class cVeDmTablabels : public cViewElement {
-private:
- int tabIndex;
- int activeTab;
- vector<const char*> tabs;
-public:
- cVeDmTablabels(void);
- virtual ~cVeDmTablabels(void);
- void SetTokenContainer(void);
- void SetTabs(vector<const char*> &newTabs);
- void SetActiveTab(int activeTab) { SetDirty(); this->activeTab = activeTab; };
- bool Parse(bool forced = false);
-};
+#ifndef __VIEWELEMENTSDM_H
+#define __VIEWELEMENTSDM_H
+
+#include "viewelement.h"
+#include "../extensions/scrapmanager.h"
+
+/******************************************************************
+* cVeDmHeader
+******************************************************************/
+class cVeDmHeader : public cViewElement {
+private:
+ char *title;
+ char *channelName;
+ int channelNumber;
+ char *channelId;
+ bool epgSearchFav;
+public:
+ cVeDmHeader(void);
+ virtual ~cVeDmHeader(void);
+ void SetTokenContainer(void);
+ void SetTitle(const char *title);
+ void SetChannel(const cChannel *channel);
+ void Set(eMenuCategory menuCat);
+ void IsEpgSearchFav(bool isFav) { epgSearchFav = isFav;} ;
+};
+
+/******************************************************************
+* cVeDmSortmode
+******************************************************************/
+class cVeDmSortmode : public cViewElement {
+private:
+ eMenuSortMode sortMode;
+ eMenuSortMode lastSortMode;
+public:
+ cVeDmSortmode(void);
+ virtual ~cVeDmSortmode(void);
+ void Reset(void) { lastSortMode = msmUnknown; }
+ void SetTokenContainer(void);
+ void Set(eMenuSortMode sortMode);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmColorbuttons
+******************************************************************/
+class cVeDmColorbuttons : public cViewElement {
+private:
+ bool changed;
+ char *red;
+ char *green;
+ char *yellow;
+ char *blue;
+public:
+ cVeDmColorbuttons(void);
+ virtual ~cVeDmColorbuttons(void);
+ void SetTokenContainer(void);
+ void SetButtons(const char *red, const char *green, const char *yellow, const char *blue);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmScrollbar
+******************************************************************/
+class cVeDmScrollbar : public cViewElement {
+private:
+public:
+ cVeDmScrollbar(void);
+ virtual ~cVeDmScrollbar(void);
+ void SetTokenContainer(void);
+ void SetList(int numDisplayed, int offset, int numMax);
+ void SetDetail(int height, int offset, bool end);
+};
+
+
+/******************************************************************
+* cVeDmTimers
+******************************************************************/
+class cVeDmTimers : public cViewElement {
+private:
+ int timerIndex;
+public:
+ cVeDmTimers(void);
+ virtual ~cVeDmTimers(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmCurrentschedule
+******************************************************************/
+class cVeDmCurrentschedule : public cViewElement, public cScrapManager {
+private:
+ const char *rec;
+ void ParseFromChannel(const cChannel *channel);
+ void ParseFromRecording(const cRecording *recording);
+ void RecName(string &path, string &name, string &folder);
+public:
+ cVeDmCurrentschedule(void);
+ virtual ~cVeDmCurrentschedule(void);
+ void SetTokenContainer(void);
+ void SetRecording(const char *currentRec);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmDiscusage
+******************************************************************/
+class cVeDmDiscusage : public cViewElement {
+private:
+public:
+ cVeDmDiscusage(void);
+ virtual ~cVeDmDiscusage(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmSystemload
+******************************************************************/
+class cVeDmSystemload : public cViewElement {
+private:
+ double lastSystemLoad;
+public:
+ cVeDmSystemload(void);
+ virtual ~cVeDmSystemload(void);
+ void Reset(void) { lastSystemLoad = -1.0f; }
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmSystemmemory
+******************************************************************/
+class cVeDmSystemmemory : public cViewElement {
+private:
+ int lastMemUsage;
+public:
+ cVeDmSystemmemory(void);
+ virtual ~cVeDmSystemmemory(void);
+ void Reset(void) { lastMemUsage = -1; }
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmTemperatures
+******************************************************************/
+class cVeDmTemperatures : public cViewElement {
+private:
+ int lastCpuTemp;
+ int lastGpuTemp;
+public:
+ cVeDmTemperatures(void);
+ virtual ~cVeDmTemperatures(void);
+ void Reset(void) { lastCpuTemp = -1; lastGpuTemp = -1; }
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmVdrstatistics
+******************************************************************/
+class cVeDmVdrstatistics : public cViewElement {
+private:
+ string lastVdrCPU;
+ string lastVdrMEM;
+public:
+ cVeDmVdrstatistics(void);
+ virtual ~cVeDmVdrstatistics(void);
+ void Reset(void) { lastVdrCPU = "undefined"; lastVdrMEM = "undefined"; }
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmLastrecordings
+******************************************************************/
+class cVeDmLastrecordings : public cViewElement, public cScrapManager {
+private:
+ int recIndex;
+ void RecName(string &path, string &name, string &folder);
+public:
+ cVeDmLastrecordings(void);
+ virtual ~cVeDmLastrecordings(void);
+ void SetTokenContainer(void);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmDetailheaderEpg
+******************************************************************/
+class cVeDmDetailheaderEpg : public cViewElement, public cScrapManager {
+private:
+ const cEvent *event;
+public:
+ cVeDmDetailheaderEpg(void);
+ virtual ~cVeDmDetailheaderEpg(void);
+ void SetTokenContainer(void);
+ void SetEvent(const cEvent *event);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmDetailheaderRec
+******************************************************************/
+class cVeDmDetailheaderRec : public cViewElement, public cScrapManager {
+private:
+ const cRecording *recording;
+public:
+ cVeDmDetailheaderRec(void);
+ virtual ~cVeDmDetailheaderRec(void);
+ void SetTokenContainer(void);
+ void SetRecording(const cRecording *rec);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmDetailheaderPlugin
+******************************************************************/
+class cVeDmDetailheaderPlugin : public cViewElement {
+private:
+ int plugId;
+ int plugMenuId;
+public:
+ cVeDmDetailheaderPlugin(void);
+ virtual ~cVeDmDetailheaderPlugin(void);
+ void SetPlugId(int id) { plugId = id; };
+ void SetPlugMenuId(int id) { plugMenuId = id; };
+ void SetTokenContainer(void);
+ void Set(skindesignerapi::cTokenContainer *tk);
+ bool Parse(bool forced = false);
+};
+
+/******************************************************************
+* cVeDmTablabels
+******************************************************************/
+class cVeDmTablabels : public cViewElement {
+private:
+ int tabIndex;
+ int activeTab;
+ vector<const char*> tabs;
+public:
+ cVeDmTablabels(void);
+ virtual ~cVeDmTablabels(void);
+ void SetTokenContainer(void);
+ void SetTabs(vector<const char*> &newTabs);
+ void SetActiveTab(int activeTab) { SetDirty(); this->activeTab = activeTab; };
+ bool Parse(bool forced = false);
+};
#endif //__VIEWELEMENTSDM_H \ No newline at end of file