From 55c2a88ecd94a2eb6aa00f1227912fcd2659932b Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 14 Dec 2006 17:07:42 +0000 Subject: add possibility to get a dict with transponderdata for servicerefs --- lib/service/service.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/service/service.cpp') diff --git a/lib/service/service.cpp b/lib/service/service.cpp index 73544991..f4094236 100644 --- a/lib/service/service.cpp +++ b/lib/service/service.cpp @@ -192,6 +192,11 @@ std::string iStaticServiceInformation::getInfoString(const eServiceReference &re return ""; } +PyObject *iStaticServiceInformation::getInfoObject(const eServiceReference &ref, int w) +{ + Py_RETURN_NONE; +} + int iServiceInformation::getInfo(int w) { return -1; @@ -204,8 +209,7 @@ std::string iServiceInformation::getInfoString(int w) PyObject* iServiceInformation::getInfoObject(int w) { - Py_INCREF(Py_None); - return Py_None; + Py_RETURN_NONE; } int iStaticServiceInformation::setInfo(const eServiceReference &ref, int w, int v) -- cgit v1.2.3