diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-19 14:35:19 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-19 14:35:19 +0000 |
| commit | f973710dc6bcfc13f8db4e5720dd2aeb1518b012 (patch) | |
| tree | 2587e239e9fa626bf4c478f08a8946bb7f66434c /lib/service/iservice.h | |
| parent | 4aa7b11f525aaa22b3ad6b0d247ea67f39b498de (diff) | |
| download | enigma2-f973710dc6bcfc13f8db4e5720dd2aeb1518b012.tar.gz enigma2-f973710dc6bcfc13f8db4e5720dd2aeb1518b012.zip | |
show real satellite name in satellite list
Diffstat (limited to 'lib/service/iservice.h')
| -rw-r--r-- | lib/service/iservice.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 285063ec..f84b9613 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -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; |
