summaryrefslogtreecommitdiff
path: root/libtemplate/templateview.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-10-25 20:10:00 +0200
committerlouis <louis.braun@gmx.de>2014-10-25 20:10:00 +0200
commit1e20f0c893b37f889269500e55f3022f450dfb04 (patch)
tree7ddb4b2838950e5b2b94e3416386423d28535e40 /libtemplate/templateview.c
parentce67dea08af33f53525b61e168f32af11101e2c6 (diff)
downloadvdr-plugin-skindesigner-1e20f0c893b37f889269500e55f3022f450dfb04.tar.gz
vdr-plugin-skindesigner-1e20f0c893b37f889269500e55f3022f450dfb04.tar.bz2
added device info in displaychannel
Diffstat (limited to 'libtemplate/templateview.c')
-rw-r--r--libtemplate/templateview.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libtemplate/templateview.c b/libtemplate/templateview.c
index 7786ce1..f122732 100644
--- a/libtemplate/templateview.c
+++ b/libtemplate/templateview.c
@@ -612,6 +612,7 @@ void cTemplateViewChannel::SetViewElements(void) {
viewElementsAllowed.insert("screenresolution");
viewElementsAllowed.insert("signalquality");
viewElementsAllowed.insert("signalqualityback");
+ viewElementsAllowed.insert("devices");
viewElementsAllowed.insert("scrapercontent");
viewElementsAllowed.insert("datetime");
viewElementsAllowed.insert("message");
@@ -654,6 +655,9 @@ string cTemplateViewChannel::GetViewElementName(eViewElement ve) {
case veSignalQualityBack:
name = "Signal Quality Background";
break;
+ case veDevices:
+ name = "Devices";
+ break;
case veScraperContent:
name = "Scraper Content";
break;
@@ -698,6 +702,8 @@ void cTemplateViewChannel::AddPixmap(string sViewElement, cTemplatePixmap *pix,
ve = veSignalQuality;
} else if (!sViewElement.compare("signalqualityback")) {
ve = veSignalQualityBack;
+ } else if (!sViewElement.compare("devices")) {
+ ve = veDevices;
} else if (!sViewElement.compare("scrapercontent")) {
ve = veScraperContent;
} else if (!sViewElement.compare("datetime")) {