git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- add shortcuts
[enigma2.git]
/
lib
/
service
/
iservice.h
diff --git
a/lib/service/iservice.h
b/lib/service/iservice.h
index c58421eddb77b923030a3dfe6c42bb832ae1809b..4592a971dff60faf7505b37412b7e717655cd683 100644
(file)
--- a/
lib/service/iservice.h
+++ b/
lib/service/iservice.h
@@
-143,15
+143,21
@@
class iStaticServiceInformation: public iObject
{
public:
virtual RESULT getName(const eServiceReference &ref, std::string &name)=0;
{
public:
virtual RESULT getName(const eServiceReference &ref, std::string &name)=0;
+
+ // FOR SWIG
+ std::string getName(const eServiceReference &ref) { std::string temp; getName(ref, temp); return temp; }
};
TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
class eServiceEvent;
};
TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
class eServiceEvent;
-class iServiceInformation: public i
StaticServiceInformation
+class iServiceInformation: public i
Object
{
public:
{
public:
+ virtual RESULT getName(std::string &name)=0;
+ // FOR SWIG
+ std::string getName() { std::string temp; getName(temp); return temp; }
virtual RESULT getEvent(ePtr<eServiceEvent> &evt, int nownext);
};
virtual RESULT getEvent(ePtr<eServiceEvent> &evt, int nownext);
};
@@
-190,6
+196,7
@@
TEMPLATE_TYPEDEF(ePtr<iPlayableService>, iPlayableServicePtr);
class iRecordableService: public iObject
{
public:
class iRecordableService: public iObject
{
public:
+ virtual RESULT prepare()=0;
virtual RESULT start()=0;
virtual RESULT stop()=0;
};
virtual RESULT start()=0;
virtual RESULT stop()=0;
};