aboutsummaryrefslogtreecommitdiff
path: root/lib/service/iservice.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-26 17:18:52 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-26 17:18:52 +0000
commitbcfb71b423699d8f7e1d1e7bb5dc24ad4413a4ae (patch)
treec7e81151e82f9b7baf1aac81ab34f1532c2c7ef9 /lib/service/iservice.h
parent0bd832437c2d361866236751a03887ecb3048c64 (diff)
downloadenigma2-bcfb71b423699d8f7e1d1e7bb5dc24ad4413a4ae.tar.gz
enigma2-bcfb71b423699d8f7e1d1e7bb5dc24ad4413a4ae.zip
add function to get a list of CAIDs for a running dvb service from python
Diffstat (limited to 'lib/service/iservice.h')
-rw-r--r--lib/service/iservice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h
index 7ea8c17b..53abbf1a 100644
--- a/lib/service/iservice.h
+++ b/lib/service/iservice.h
@@ -225,7 +225,7 @@ public:
virtual SWIG_VOID(RESULT) getName(std::string &SWIG_OUTPUT)=0;
virtual SWIG_VOID(RESULT) getEvent(ePtr<eServiceEvent> &SWIG_OUTPUT, int nownext);
- enum {
+ enum {
sIsCrypted, /* is encrypted (no indication if decrypt was possible) */
sAspect, /* aspect ratio: 0=4:3, 1=16:9, 2=whatever we need */
sIsMultichannel, /* multichannel *available* (probably not selected) */
@@ -260,11 +260,13 @@ public:
sComment,
sTracknumber,
sGenre,
+ sCAIDs,
};
- enum { resNA = -1, resIsString = -2 };
+ enum { resNA = -1, resIsString = -2, resIsPyObject = -3 };
virtual int getInfo(int w);
virtual std::string getInfoString(int w);
+ virtual PyObject *getInfoObject(int w);
};
TEMPLATE_TYPEDEF(ePtr<iServiceInformation>, iServiceInformationPtr);