show real satellite name in satellite list
[enigma2.git] / lib / service / iservice.h
index 285063ec72de05b65f1d7bfb4f4e98c1be079089..f84b96134d5e2a3ba2c004fba821a64bf7ca919f 100644 (file)
@@ -47,6 +47,19 @@ public:
        std::string path;
        std::string getPath() { return path; }
 
+       int getData(int num) const
+       {
+               if ( num < sizeof(data)/sizeof(int) )
+                       return data[num];
+               return 0;
+       }
+
+       void setData(int num, int val)
+       {
+               if ( num < sizeof(data)/sizeof(int) )
+                       data[num] = val;
+       }
+
 // only for override service names in bouquets or to give servicerefs a name which not have a
 // real existing service ( for dvb eServiceDVB )
        std::string name;