+
+ /* About the usage of SWIG_VOID:
+ SWIG_VOID(real_returntype_t) hides a return value from swig. This is used for
+ the "superflouus" RESULT return values.
+
+ Python code has to check the returned pointer against 0. This works,
+ as all functions returning instances in smartpointers AND having a
+ RESULT have to BOTH return non-zero AND set the pointer to zero.
+
+ Python code thus can't check for the reason, but the reason isn't
+ user-servicable anyway. If you want to return a real reason which
+ goes beyong "it just doesn't work", use extra variables for this,
+ not the RESULT.
+
+ Hide the result only if there is another way to check for failure! */
+
+class iStaticServiceInformation: public iObject
+{
+public:
+ virtual SWIG_VOID(RESULT) getName(const eServiceReference &ref, std::string &SWIG_OUTPUT)=0;
+
+ // doesn't need to be implemented, should return -1 then.
+ virtual int getLength(const eServiceReference &ref)=0;
+};
+
+TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
+
+class eServiceEvent;
+
+TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);
+