openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
iservice.h
Go to the documentation of this file.
1 #ifndef __lib_dvb_iservice_h
2 #define __lib_dvb_iservice_h
3 
4 #include <lib/python/swig.h>
5 #include <lib/python/python.h>
6 #include <lib/base/object.h>
7 #include <string>
8 #include <connection.h>
9 #include <list>
10 #include <vector>
11 
12 class eServiceEvent;
13 
15 {
16 public:
17  enum
18  {
19  idServiceIsScrambled = 0x0100, // 256 Added to normal id to indicate scrambling
20  idInvalid = -1,
21  idStructure = 0x0000, // 0 service_id == 0 is root
22  idDVB = 0x0001, // 1
23  idFile = 0x0002, // 2
24  idServiceM2TS = 0x0003, // 3
26  idUser = 0x1000, // 4096
27  idServiceMP3 = 0x1001, // 4097
28  idServiceAirPlay = 0x1009, // 4105
29  idServiceXINE = 0x1010, // 4112
30  idServiceDVD = 0x1111, // 4369
31  idServiceAzBox = 0x1112, // 4370
32  idServiceHDMIIn = 0x2000, // 8192
33  };
34  int type;
35 
36  enum
37  {
39  isDirectory=1, // SHOULD enter (implies mustDescent)
40  mustDescent=2, // cannot be played directly - often used with "isDirectory" (implies canDescent)
41  /*
42  for example:
43  normal services have none of them - they can be fed directly into the "play"-handler.
44  normal directories have both of them set - you cannot play a directory directly and the UI should descent into it.
45  playlists have "mustDescent", but not "isDirectory" - you don't want the user to browse inside the playlist (unless he really wants)
46  services with sub-services have none of them, instead the have the "canDecsent" flag (as all of the above)
47  */
48  canDescent=4, // supports enterDirectory/leaveDirectory
50  shouldSort=8, // should be ASCII-sorted according to service_name. great for directories.
51  hasSortKey=16, // has a sort key in data[3]. not having a sort key implies 0.
52  sort1=32, // sort key is 1 instead of 0
53  isMarker=64, // Marker
54  isGroup=128, // is a group of services
55  isNumberedMarker=256, //use together with isMarker, to force the marker to be numbered
56  isInvisible=512 // use to make services or markers in a list invisable
57  };
58  int flags; // flags will NOT be compared.
59 
60  inline int getSortKey() const { return (flags & hasSortKey) ? data[3] : ((flags & sort1) ? 1 : 0); }
61 
62 #ifndef SWIG
63  int data[8];
64  std::string path;
65  std::string alternativeurl;
66 #endif
67  std::string getPath() const { return path; }
68  void setPath( const std::string &n ) { path=n; }
69  void setAlternativeUrl( const std::string &n ) { alternativeurl=n; }
70 
71  unsigned int getUnsignedData(unsigned int num) const
72  {
73  if ( num < sizeof(data)/sizeof(int) )
74  return data[num];
75  return 0;
76  }
77 
78  int getData(unsigned int num) const
79  {
80  if ( num < sizeof(data)/sizeof(int) )
81  return data[num];
82  return 0;
83  }
84 
85  void setUnsignedData(unsigned int num, unsigned int val)
86  {
87  if ( num < sizeof(data)/sizeof(int) )
88  data[num] = val;
89  }
90 
91  void setData(unsigned int num, int val)
92  {
93  if ( num < sizeof(data)/sizeof(int) )
94  data[num] = val;
95  }
96 
97 // only for override service names in bouquets or to give servicerefs a name which not have a
98 // real existing service ( for dvb eServiceDVB )
99 #ifndef SWIG
100  std::string name;
101  int number;
102 #endif
103  std::string getName() const { return name; }
104  void setName( const std::string &n ) { name=n; }
105  int getChannelNum() const { return number; }
106  void setChannelNum(const int n) { number = n; }
107 
109  : type(idInvalid), flags(0)
110  {
111  memset(data, 0, sizeof(data));
112  number = 0;
113  }
115  : type(type), flags(flags)
116  {
117  memset(data, 0, sizeof(data));
118  number = 0;
119  }
120  eServiceReference(int type, int flags, int data0)
121  : type(type), flags(flags)
122  {
123  memset(data, 0, sizeof(data));
124  data[0]=data0;
125  number = 0;
126  }
127  eServiceReference(int type, int flags, int data0, int data1)
128  : type(type), flags(flags)
129  {
130  memset(data, 0, sizeof(data));
131  data[0]=data0;
132  data[1]=data1;
133  number = 0;
134  }
135  eServiceReference(int type, int flags, int data0, int data1, int data2)
136  : type(type), flags(flags)
137  {
138  memset(data, 0, sizeof(data));
139  data[0]=data0;
140  data[1]=data1;
141  data[2]=data2;
142  number = 0;
143  }
144  eServiceReference(int type, int flags, int data0, int data1, int data2, int data3)
145  : type(type), flags(flags)
146  {
147  memset(data, 0, sizeof(data));
148  data[0]=data0;
149  data[1]=data1;
150  data[2]=data2;
151  data[3]=data3;
152  number = 0;
153  }
154  eServiceReference(int type, int flags, int data0, int data1, int data2, int data3, int data4)
155  : type(type), flags(flags)
156  {
157  memset(data, 0, sizeof(data));
158  data[0]=data0;
159  data[1]=data1;
160  data[2]=data2;
161  data[3]=data3;
162  data[4]=data4;
163  number = 0;
164  }
165  eServiceReference(int type, int flags, const std::string &path)
166  : type(type), flags(flags), path(path)
167  {
168  memset(data, 0, sizeof(data));
169  number = 0;
170  }
171 #ifdef SWIG
173 #endif
174  eServiceReference(const std::string &string);
175  std::string toString() const;
176  std::string toCompareString() const;
177 #ifndef SWIG
178  operator bool() const
179  {
180  return valid();
181  }
182 #endif
183  bool operator==(const eServiceReference &c) const
184  {
185  if (type != c.type)
186  return 0;
187  return (memcmp(data, c.data, sizeof(int)*8)==0) && (path == c.path);
188  }
189  bool operator!=(const eServiceReference &c) const
190  {
191  return !(*this == c);
192  }
193  bool operator<(const eServiceReference &c) const
194  {
195  if (type < c.type)
196  return 1;
197 
198  if (type > c.type)
199  return 0;
200 
201  int r=memcmp(data, c.data, sizeof(int)*8);
202  if (r)
203  return r < 0;
204  return path < c.path;
205  }
206 
207  int valid() const
208  {
209  return type != idInvalid;
210  }
211 };
212 
214 
215 extern PyObject *New_eServiceReference(const eServiceReference &ref); // defined in enigma_python.i
216 
217 #ifndef SWIG
218 #ifdef PYTHON_REFCOUNT_DEBUG
219 inline ePyObject Impl_New_eServiceReference(const char* file, int line, const eServiceReference &ref)
220 {
222 }
223 #define NEW_eServiceReference(ref) Impl_New_eServiceReference(__FILE__, __LINE__, ref)
224 #else
226 {
227  return New_eServiceReference(ref);
228 }
229 #define NEW_eServiceReference(ref) Impl_New_eServiceReference(ref)
230 #endif
231 #endif // SWIG
232 
233 typedef long long pts_t;
234 
235  /* the reason we have the servicereference as additional argument is
236  that we don't have to create one object for every entry in a possibly
237  large list, provided that no state information is nessesary to deliver
238  the required information. Anyway - ref *must* be the same as the argument
239  to the info() or getIServiceInformation call! */
240 
241  /* About the usage of SWIG_VOID:
242  SWIG_VOID(real_returntype_t) hides a return value from swig. This is used for
243  the "superflouus" RESULT return values.
244 
245  Python code has to check the returned pointer against 0. This works,
246  as all functions returning instances in smartpointers AND having a
247  RESULT have to BOTH return non-zero AND set the pointer to zero.
248 
249  Python code thus can't check for the reason, but the reason isn't
250  user-servicable anyway. If you want to return a real reason which
251  goes beyong "it just doesn't work", use extra variables for this,
252  not the RESULT.
253 
254  Hide the result only if there is another way to check for failure! */
255 
256 class eServiceEvent;
257 class iDVBTransponderData;
258 
260 {
261 public:
262  virtual int getInteger(unsigned int index) const { (void)index; return 0; }
263  virtual std::string getString(unsigned int index) const { (void)index; return ""; }
264  virtual double getDouble(unsigned int index) const { (void)index; return 0.0; }
265  virtual unsigned char *getBuffer(unsigned int &size) const { size = 0; return NULL; }
266 };
267 
269 {
270 #ifdef SWIG
273 #endif
274 public:
275  virtual SWIG_VOID(RESULT) getName(const eServiceReference &ref, std::string &SWIG_OUTPUT)=0;
276 
277  // doesn't need to be implemented, should return -1 then.
278  virtual int getLength(const eServiceReference &ref);
280  // returns true when not implemented
281  virtual int isPlayable(const eServiceReference &ref, const eServiceReference &ignore, bool simulate=false);
282 
283  virtual int getInfo(const eServiceReference &ref, int w);
284  virtual std::string getInfoString(const eServiceReference &ref,int w);
287  virtual long long getFileSize(const eServiceReference &ref);
288  virtual bool isCrypted();
289 
290  virtual int setInfo(const eServiceReference &ref, int w, int v);
291  virtual int setInfoString(const eServiceReference &ref, int w, const char *v);
292 };
294 
296 {
297 #ifdef SWIG
300 #endif
301 public:
302  enum {
303  sIsCrypted, /* is encrypted (no indication if decrypt was possible) */
304  sAspect, /* aspect ratio: 0=4:3, 1=16:9, 2=whatever we need */
305  sFrameRate, /* frame rate */
306  sProgressive, /* 0 = interlaced, 1 = progressive */
307  sIsMultichannel, /* multichannel *available* (probably not selected) */
308 
309  /* "user serviceable info" - they are not reliable. Don't use them for anything except the service menu!
310  that's also the reason why they are so globally defined.
311  again - if somebody EVER tries to use this information for anything else than simply displaying it,
312  i will change this to return a user-readable text like "zero x zero three three" (and change the
313  exact spelling in every version) to stop that! */
314 
320 
326 
329  sTimeCreate, /* unix time or string */
331 
334  sVideoType, /* MPEG2 MPEG4 */
335 
336  sTags, /* space seperated list of tags */
337 
338  sDVBState, /* states as defined in pmt handler (as events there) */
339 
342 
343  sTransponderData, /* transponderdata as python dict */
344 
349 
400 
402 
409 
411 
412  sUser = 0x100
413  };
414  enum {
415  resNA = -1,
417  resIsPyObject = -3
418  };
419 };
420 
421 /* some words to structs like struct iServiceInformation_ENUMS
422 For some classes we need in python just the SmartPointer Variants.
423 So we prevent building wrapper classes for the non smart pointer classes with the SWIG_IGNORE makro.
424 But now we have the problem that swig do not export enums for smart pointer classes (i dont know why).
425 So we move all enum's to own classes (with _ENUMS as name ending) and let our real
426 class inherit from the *_ENUMS class. This *_ENUMS classes are normally exportet via swig to python.
427 But in the python code we doesn't like to write iServiceInformation_ENUMS.sVideoType....
428 we like to write iServiceInformation.sVideoType.
429 So until swig have no Solution for this Problem we call in lib/python/Makefile.am a python script named
430 enigma_py_patcher.py to remove the "_ENUMS" strings in enigma.py at all needed locations. */
431 
433 {
434 #ifdef SWIG
437 #endif
438 public:
439  virtual SWIG_VOID(RESULT) getName(std::string &SWIG_OUTPUT)=0;
441 
442  virtual int getInfo(int w);
443  virtual std::string getInfoString(int w);
446  virtual void getAITApplications(std::map<int, std::string> &aitlist) {};
447  virtual PyObject *getHbbTVApplications() {return getHbbTVApplications();}; // NOSONAR
448  virtual void getCaIds(std::vector<int> &caids, std::vector<int> &ecmpids, std::vector<std::string> &ecmdatabytes);
449  virtual long long getFileSize();
450 
451  virtual int setInfo(int w, int v);
452  virtual int setInfoString(int w, const char *v);
453 };
455 
457 {
458 #ifdef SWIG
461 #endif
462 public:
463  enum {
475  };
476 };
477 
478 class iDVBFrontendData;
479 class iDVBFrontendStatus;
480 class iDVBTransponderData;
481 
483 {
484 #ifdef SWIG
487 #endif
488 public:
489  virtual int getFrontendInfo(int w)=0;
493  void getAll() {}
494 };
496 
499 {
500 #ifdef SWIG
501  iPausableService();
502  ~iPausableService();
503 #endif
504 public:
505 
506  /* this will set the *state* directly. So just call a SINGLE function of those at a time. */
507  virtual RESULT pause()=0;
508  virtual RESULT unpause()=0;
509 
510  /* hm. */
511  virtual RESULT setSlowMotion(int ratio=0)=0;
512  virtual RESULT setFastForward(int ratio=0)=0;
513 };
515 
517 {
518 #ifdef SWIG
521 #endif
522 public:
523  enum { dirForward = +1, dirBackward = -1 };
524 };
525 
528 {
529 #ifdef SWIG
531  ~iSeekableService();
532 #endif
533 public:
535  virtual RESULT seekTo(pts_t to)=0;
536  virtual RESULT seekRelative(int direction, pts_t to)=0;
538  /* if you want to do several seeks in a row, you can enable the trickmode.
539  audio will be switched off, sync will be disabled etc. */
540  virtual RESULT setTrickmode(int trick=0)=0;
542  virtual RESULT seekChapter(int) { return -1; }
543  virtual RESULT seekTitle(int) { return -1; }
544 };
546 
548 {
549 #ifndef SWIG
550  std::string m_description;
551  std::string m_language; /* iso639 */
552  int m_pid; /* for association with the stream. */
553 #endif
554  std::string getDescription() { return m_description; }
555  std::string getLanguage() { return m_language; }
556  int getPID() { return m_pid; }
557 };
559 
562 {
563 #ifdef SWIG
566 #endif
567 public:
568  virtual int getNumberOfTracks()=0;
569  virtual RESULT selectTrack(unsigned int i)=0;
570  virtual SWIG_VOID(RESULT) getTrackInfo(struct iAudioTrackInfo &SWIG_OUTPUT, unsigned int n)=0;
571  virtual int getCurrentTrack()=0;
572 };
574 
576 {
577 #ifdef SWIG
580 #endif
581 public:
582  enum { LEFT, STEREO, RIGHT };
583 };
584 
587 {
588 #ifdef SWIG
591 #endif
592 public:
593  virtual int getCurrentChannel()=0;
594  virtual RESULT selectChannel(int i)=0;
595 };
597 
599 class iAudioDelay: public iObject
600 {
601 #ifdef SWIG
602  iAudioDelay();
603  ~iAudioDelay();
604 #endif
605 public:
606  virtual int getAC3Delay()=0;
607  virtual int getPCMDelay()=0;
608  virtual void setAC3Delay(int)=0;
609  virtual void setPCMDelay(int)=0;
610 };
612 
614 {
615 #ifdef SWIG
618 #endif
619 public:
620  enum { RadioText, RtpText };
621 };
622 
624 class iRdsDecoder: public iObject, public iRdsDecoder_ENUMS
625 {
626 #ifdef SWIG
627  iRdsDecoder();
628  ~iRdsDecoder();
629 #endif
630 public:
631  virtual std::string getText(int x=RadioText)=0;
632  virtual void showRassSlidePicture()=0;
633  virtual void showRassInteractivePic(int page, int subpage)=0;
634  virtual SWIG_PYOBJECT(ePyObject) getRassInteractiveMask()=0;
635 };
637 
640 {
641 #ifdef SWIG
642  iSubserviceList();
643  ~iSubserviceList();
644 #endif
645 public:
646  virtual int getNumberOfSubservices()=0;
647  virtual SWIG_VOID(RESULT) getSubservice(eServiceReference &SWIG_OUTPUT, unsigned int n)=0;
648 };
650 
653 {
654 #ifdef SWIG
657 #endif
658 public:
659  virtual RESULT startTimeshift()=0;
660  virtual RESULT stopTimeshift(bool swToLive=true)=0;
661  virtual RESULT setNextPlaybackFile(const char *fn)=0; // not needed by our internal timeshift.. but external plugin...
662 
663  virtual int isTimeshiftActive()=0;
664  virtual int isTimeshiftEnabled()=0;
665  /* this essentially seeks to the relative end of the time shift buffer */
668  virtual std::string getTimeshiftFilename()=0;
669  virtual void switchToLive()=0;
670 };
672 
674 class iTapService: public iObject
675 {
676 #ifdef SWIG
677  iTapService();
678  ~iTapService();
679 #endif
680 public:
681  virtual bool startTapToFD(int fd, const std::vector<int> &pids, int packetsize = 188)=0;
682  virtual void stopTapToFD()=0;
683 };
685 
686  /* not related to eCueSheet */
687 
689 {
690 #ifdef SWIG
691  iCueSheet_ENUMS();
692  ~iCueSheet_ENUMS();
693 #endif
694 public:
695  enum { cutIn = 0, cutOut = 1, cutMark = 2 };
696 };
697 
699 class iCueSheet: public iCueSheet_ENUMS, public iObject
700 {
701 #ifdef SWIG
702  iCueSheet();
703  ~iCueSheet();
704 #endif
705 public:
706  /* returns a list of (pts, what)-tuples */
707  virtual PyObject *getCutList() = 0;
709  virtual void setCutListEnable(int enable) = 0;
710 };
712 
713 class PyList;
714 
716 struct eDVBSubtitlePage;
717 struct ePangoSubtitlePage;
718 struct eVobSubtitlePage;
719 class eRect;
720 class gRegion;
721 class gPixmap;
722 
725 {
726 public:
727  virtual void setPage(const eDVBTeletextSubtitlePage &p) = 0;
728  virtual void setPage(const eDVBSubtitlePage &p) = 0;
729  virtual void setPage(const ePangoSubtitlePage &p) = 0;
730  virtual void setPage(const eVobSubtitlePage &p) = 0;
731  virtual void setPixmap(ePtr<gPixmap> &pixmap, gRegion changed, eRect dest) = 0;
732  virtual void destroy() = 0;
733 };
734 
736 {
737 public:
739  {
740  int type;
741  int pid;
744  std::string language_code;
745  };
746 
747  virtual RESULT enableSubtitles(iSubtitleUser *user, SubtitleTrack &track) = 0;
748  virtual RESULT disableSubtitles() = 0;
750  virtual RESULT getSubtitleList(std::vector<SubtitleTrack> &subtitlelist) = 0;
751 };
753 
756 {
757 #ifdef SWIG
760 #endif
761 public:
762  /* flush changes */
763  virtual RESULT flushChanges()=0;
764  /* adds a service to a list */
766  /* removes a service from a list */
767  virtual RESULT removeService(eServiceReference &ref, bool renameBouquet=true)=0;
768  /* moves a service in a list, only if list suppports a specific sort method. */
769  /* pos is the new, absolute position from 0..size-1 */
771  /* set name of list, for bouquets this is the visible bouquet name */
772  virtual RESULT setListName(const std::string &name)=0;
773 };
775 
778 {
779 #ifdef SWIG
781  ~iListableService();
782 #endif
783 public:
784 #ifndef SWIG
785  /* legacy interface: get a list */
786  virtual RESULT getContent(std::list<eServiceReference> &list, bool sorted=false)=0;
787 #endif
788  virtual PyObject *getContent(const char* format, bool sorted=false)=0;
789 
790  /* new, shiny interface: streaming. */
792 
793  /* use this for sorting. output is not sorted because of either
794  - performance reasons: the whole list must be buffered or
795  - the interface would be restricted to a list. streaming
796  (as well as a future "active" extension) won't be possible.
797  */
798  virtual int compareLessEqual(const eServiceReference &, const eServiceReference &)=0;
799 
801 };
803 
804 #ifndef SWIG
805  /* a helper class which can be used as argument to stl's sort(). */
807 {
808  ePtr<iListableService> m_list;
809 public:
812  {
813  return m_list->compareLessEqual(a, b);
814  }
815 };
816 #endif
817 
820 {
821 #ifdef SWIG
824 #endif
825 public:
826  /* to delete a service, forever. */
827  virtual RESULT deleteFromDisk(int simulate=1)=0;
828 
829  /* for transferring a service... */
830  virtual SWIG_VOID(RESULT) getListOfFilenames(std::list<std::string> &SWIG_OUTPUT)=0;
831 
832  /* a blocking call to reindex a file */
833  virtual int reindex() = 0;
834 
835  // TODO: additional stuff, like a conversion interface?
836 };
838 
839 class iStreamData: public iObject
840 {
841 public:
842  virtual SWIG_VOID(RESULT) getAllPids(std::vector<int> &result) const = 0;
843  virtual SWIG_VOID(RESULT) getVideoPids(std::vector<int> &result) const = 0;
844  virtual SWIG_VOID(RESULT) getAudioPids(std::vector<int> &result) const = 0;
845  virtual SWIG_VOID(RESULT) getSubtitlePids(std::vector<int> &result) const = 0;
846  virtual SWIG_VOID(RESULT) getPmtPid(int &result) const = 0;
847  virtual SWIG_VOID(RESULT) getPatPid(int &result) const = 0;
848  virtual SWIG_VOID(RESULT) getPcrPid(int &result) const = 0;
849  virtual SWIG_VOID(RESULT) getTxtPid(int &result) const = 0;
850  virtual SWIG_VOID(RESULT) getServiceId(int &result) const = 0;
851  virtual SWIG_VOID(RESULT) getAdapterId(int &result) const = 0;
852  virtual SWIG_VOID(RESULT) getDemuxId(int &result) const = 0;
853  virtual SWIG_VOID(RESULT) getCaIds(std::vector<int> &caids, std::vector<int> &ecmpids, std::vector<std::string> &ecmdatabytes) const = 0;
854  virtual SWIG_VOID(RESULT) getDefaultAudioPid(int &result) const = 0;
855 };
856 
858 {
859 #ifdef SWIG
862 #endif
863 public:
865 };
867 
869 {
870 public:
871  virtual int getBufferPercentage() const = 0;
872  virtual int getAverageInputRate() const = 0;
873  virtual int getAverageOutputRate() const = 0;
874  virtual int getBufferSpace() const = 0;
875  virtual int getBufferSize() const = 0;
876 };
877 
879 {
880 #ifdef SWIG
882  ~iStreamedService();
883 #endif
884 public:
886  virtual int setBufferSize(int size)=0;
887 };
889 
891 {
892 #ifdef SWIG
895 #endif
896 public:
897  enum {
903  keyUser = 0x100
904  };
905 };
906 
909 {
910 #ifdef SWIG
911  iServiceKeys();
912  ~iServiceKeys();
913 #endif
914 public:
915  virtual SWIG_VOID(RESULT) keyPressed(int key)=0;
916 };
918 
920 {
921 #ifdef SWIG
924 #endif
925 public:
926  enum {
927  /* these first two events are magical, and should only
928  be generated if you know what you're doing. */
931 
934 
935  /* when iServiceInformation is implemented:*/
939 
940  /* when seek() is implemented: */
941  evSeekableStatusChanged, /* for example when timeshifting */
942 
944  evSOF, /* bounced against start of file (when seeking backwards) */
945 
946  /* when cueSheet is implemented */
948 
949  /* when rdsDecoder is implemented */
952 
953  /* Radio Screenshow Support */
956 
960 
963 
965 
967 
969 
971 
972  evUser = 0x100
973  };
974 };
975 
978 {
979 #ifdef SWIG
981  ~iPlaybleService();
982 #endif
983  friend class iServiceHandler;
984 public:
985 #ifndef SWIG
986  virtual RESULT connectEvent(const sigc::slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
987 #endif
988  virtual RESULT start()=0;
989  virtual RESULT stop()=0;
990  /* might have to be changed... */
991  virtual RESULT setTarget(int target, bool noaudio = false)=0;
1008  virtual void setQpipMode(bool value, bool audio)=0;
1009 };
1011 
1013 {
1014 #ifdef SWIG
1017 #endif
1018 public:
1019  enum {
1034  };
1035  enum {
1044  };
1045 };
1046 
1049 {
1050 #ifdef SWIG
1052  ~iRecordableService();
1053 #endif
1054 public:
1055 #ifndef SWIG
1056  virtual RESULT connectEvent(const sigc::slot2<void,iRecordableService*,int> &event, ePtr<eConnection> &connection)=0;
1057 #endif
1058  virtual SWIG_VOID(RESULT) getError(int &SWIG_OUTPUT)=0;
1059  virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1, const char *name=0, const char *descr=0, const char *tags=0, bool descramble = true, bool recordecm = false, int packetsize = 188)=0;
1060  virtual RESULT prepareStreaming(bool descramble = true, bool includeecm = false)=0;
1061  virtual RESULT start(bool simulate=false)=0;
1062  virtual RESULT stop()=0;
1066  virtual SWIG_VOID(RESULT) getFilenameExtension(std::string &SWIG_OUTPUT)=0;
1067 };
1069 
1070 extern PyObject *New_iRecordableServicePtr(const ePtr<iRecordableService> &ref); // defined in enigma_python.i
1071 
1072 inline PyObject *PyFrom(ePtr<iRecordableService> &c)
1073 {
1074  return New_iRecordableServicePtr(c);
1075 }
1076 
1077 #ifndef SWIG
1078 #ifdef PYTHON_REFCOUNT_DEBUG
1080 {
1082 }
1083 #define NEW_iRecordableServicePtr(ptr) Impl_New_iRecordableServicePtr(__FILE__, __LINE__, ptr)
1084 #else
1086 {
1088 }
1089 #define NEW_iRecordableServicePtr(ptr) Impl_New_iRecordableServicePtr(ptr)
1090 #endif
1091 #endif // SWIG
1092 
1095 {
1096 #ifdef SWIG
1097  iServiceHandler();
1098  ~iServiceHandler();
1099 #endif
1100 public:
1106 };
1108 
1109 #endif
static int ptr
Definition: bcm.cpp:17
ucs4_t int n
Definition: big5.h:4148
long long pts_t
Definition: cfile.h:7
Definition: python.h:31
Definition: erect.h:11
Definition: event.h:130
Definition: iservice.h:15
int getSortKey() const
Definition: iservice.h:60
std::string getName() const
Definition: iservice.h:103
void setAlternativeUrl(const std::string &n)
Definition: iservice.h:69
void setUnsignedData(unsigned int num, unsigned int val)
Definition: iservice.h:85
std::string alternativeurl
Definition: iservice.h:65
std::string toCompareString() const
Definition: service.cpp:108
int getData(unsigned int num) const
Definition: iservice.h:78
eServiceReference(int type, int flags, int data0, int data1)
Definition: iservice.h:127
int getChannelNum() const
Definition: iservice.h:105
int data[8]
Definition: iservice.h:63
std::string name
Definition: iservice.h:100
int type
Definition: iservice.h:34
eServiceReference(int type, int flags, int data0, int data1, int data2)
Definition: iservice.h:135
int valid() const
Definition: iservice.h:207
@ flagDirectory
Definition: iservice.h:49
@ isGroup
Definition: iservice.h:54
@ hasSortKey
Definition: iservice.h:51
@ noFlags
Definition: iservice.h:38
@ isMarker
Definition: iservice.h:53
@ isDirectory
Definition: iservice.h:39
@ isNumberedMarker
Definition: iservice.h:55
@ mustDescent
Definition: iservice.h:40
@ canDescent
Definition: iservice.h:48
@ shouldSort
Definition: iservice.h:50
@ sort1
Definition: iservice.h:52
@ isInvisible
Definition: iservice.h:56
void setData(unsigned int num, int val)
Definition: iservice.h:91
@ idInvalid
Definition: iservice.h:20
@ idServiceDVD
Definition: iservice.h:30
@ idServiceIsScrambled
Definition: iservice.h:19
@ idUser
Definition: iservice.h:26
@ idServiceMP3
Definition: iservice.h:27
@ idServiceAzBox
Definition: iservice.h:31
@ idDVBScrambled
Definition: iservice.h:25
@ idStructure
Definition: iservice.h:21
@ idServiceM2TS
Definition: iservice.h:24
@ idServiceHDMIIn
Definition: iservice.h:32
@ idFile
Definition: iservice.h:23
@ idServiceXINE
Definition: iservice.h:29
@ idServiceAirPlay
Definition: iservice.h:28
@ idDVB
Definition: iservice.h:22
void setPath(const std::string &n)
Definition: iservice.h:68
unsigned int getUnsignedData(unsigned int num) const
Definition: iservice.h:71
std::string path
Definition: iservice.h:64
eServiceReference(int type, int flags, int data0, int data1, int data2, int data3)
Definition: iservice.h:144
int number
Definition: iservice.h:101
void setChannelNum(const int n)
Definition: iservice.h:106
bool operator<(const eServiceReference &c) const
Definition: iservice.h:193
eServiceReference(int type, int flags, int data0)
Definition: iservice.h:120
bool operator!=(const eServiceReference &c) const
Definition: iservice.h:189
int flags
Definition: iservice.h:58
eServiceReference(int type, int flags)
Definition: iservice.h:114
std::string toString() const
Definition: service.cpp:85
bool operator==(const eServiceReference &c) const
Definition: iservice.h:183
void setName(const std::string &n)
Definition: iservice.h:104
std::string getPath() const
Definition: iservice.h:67
eServiceReference(int type, int flags, int data0, int data1, int data2, int data3, int data4)
Definition: iservice.h:154
eServiceReference(int type, int flags, const std::string &path)
Definition: iservice.h:165
eServiceReference()
Definition: iservice.h:108
Definition: gpixmap.h:188
Definition: region.h:9
Definition: iservice.h:576
@ STEREO
Definition: iservice.h:582
@ RIGHT
Definition: iservice.h:582
@ LEFT
Definition: iservice.h:582
Definition: iservice.h:587
virtual RESULT selectChannel(int i)=0
virtual int getCurrentChannel()=0
Definition: iservice.h:600
virtual int getPCMDelay()=0
virtual int getAC3Delay()=0
virtual void setAC3Delay(int)=0
virtual void setPCMDelay(int)=0
Definition: iservice.h:562
virtual SWIG_VOID(RESULT) getTrackInfo(struct iAudioTrackInfo &SWIG_OUTPUT
virtual RESULT selectTrack(unsigned int i)=0
virtual int getNumberOfTracks()=0
virtual unsigned int n
Definition: iservice.h:570
virtual int getCurrentTrack()=0
Definition: iservice.h:689
@ cutMark
Definition: iservice.h:695
@ cutIn
Definition: iservice.h:695
@ cutOut
Definition: iservice.h:695
Definition: iservice.h:700
virtual void setCutList(SWIG_PYOBJECT(ePyObject) list)=0
virtual void setCutListEnable(int enable)=0
virtual PyObject * getCutList()=0
Definition: idvb.h:576
Definition: idvb.h:533
Definition: idvb.h:546
Definition: iservice.h:457
@ frontendStatus
Definition: iservice.h:472
@ frequency
Definition: iservice.h:474
@ signalQuality
Definition: iservice.h:466
@ bitErrorRate
Definition: iservice.h:464
@ signalQualitydB
Definition: iservice.h:470
@ signalPower
Definition: iservice.h:465
@ lockState
Definition: iservice.h:467
@ isUsbTuner
Definition: iservice.h:471
@ snrValue
Definition: iservice.h:473
@ syncState
Definition: iservice.h:468
@ frontendNumber
Definition: iservice.h:469
Definition: iservice.h:483
virtual int getFrontendInfo(int w)=0
virtual ePtr< iDVBTransponderData > getTransponderData(bool original)=0
virtual ePtr< iDVBFrontendData > getFrontendData()=0
virtual ePtr< iDVBFrontendStatus > getFrontendStatus()=0
void getAll()
Definition: iservice.h:493
Definition: iservice.h:807
iListableServiceCompare(iListableService *list)
Definition: iservice.h:810
bool operator()(const eServiceReference &a, const eServiceReference &b)
Definition: iservice.h:811
Definition: iservice.h:778
virtual SWIG_VOID(RESULT) startEdit(ePtr< iMutableServiceList > &SWIG_OUTPUT)=0
virtual PyObject * getContent(const char *format, bool sorted=false)=0
virtual RESULT getContent(std::list< eServiceReference > &list, bool sorted=false)=0
virtual int compareLessEqual(const eServiceReference &, const eServiceReference &)=0
virtual SWIG_VOID(RESULT) getNext(eServiceReference &SWIG_OUTPUT)=0
Definition: iservice.h:756
virtual RESULT moveService(eServiceReference &ref, int pos)=0
virtual RESULT flushChanges()=0
virtual RESULT setListName(const std::string &name)=0
virtual RESULT addService(eServiceReference &ref, eServiceReference before=eServiceReference())=0
virtual RESULT removeService(eServiceReference &ref, bool renameBouquet=true)=0
Definition: object.h:15
Definition: iservice.h:499
virtual RESULT pause()=0
virtual RESULT unpause()=0
virtual RESULT setSlowMotion(int ratio=0)=0
virtual RESULT setFastForward(int ratio=0)=0
Definition: iservice.h:920
@ evEnd
Definition: iservice.h:930
@ evTuneFailed
Definition: iservice.h:933
@ evUpdatedRadioText
Definition: iservice.h:950
@ evStopped
Definition: iservice.h:964
@ evVideoFramerateChanged
Definition: iservice.h:958
@ evGstreamerPlayStarted
Definition: iservice.h:962
@ evVideoProgressiveChanged
Definition: iservice.h:959
@ evUpdatedRassSlidePic
Definition: iservice.h:954
@ evVideoGammaChanged
Definition: iservice.h:968
@ evUpdatedRtpText
Definition: iservice.h:951
@ evFccFailed
Definition: iservice.h:970
@ evUser
Definition: iservice.h:972
@ evEOF
Definition: iservice.h:943
@ evVideoSizeChanged
Definition: iservice.h:957
@ evUpdatedRassInteractivePicMask
Definition: iservice.h:955
@ evHBBTVInfo
Definition: iservice.h:966
@ evSeekableStatusChanged
Definition: iservice.h:941
@ evStart
Definition: iservice.h:929
@ evCuesheetChanged
Definition: iservice.h:947
@ evUpdatedInfo
Definition: iservice.h:937
@ evNewProgramInfo
Definition: iservice.h:938
@ evBuffering
Definition: iservice.h:961
@ evUpdatedEventInfo
Definition: iservice.h:936
@ evSOF
Definition: iservice.h:944
@ evTunedIn
Definition: iservice.h:932
Definition: iservice.h:978
virtual RESULT start()=0
virtual SWIG_VOID(RESULT) tap(ePtr< iTapService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) audioTracks(ePtr< iAudioTrackSelection > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) audioChannel(ePtr< iAudioChannelSelection > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) audioDelay(ePtr< iAudioDelay > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) keys(ePtr< iServiceKeys > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) frontendInfo(ePtr< iFrontendInformation > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) info(ePtr< iServiceInformation > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) pause(ePtr< iPauseableService > &SWIG_OUTPUT)=0
virtual RESULT connectEvent(const sigc::slot2< void, iPlayableService *, int > &event, ePtr< eConnection > &connection)=0
virtual SWIG_VOID(RESULT) streamed(ePtr< iStreamedService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) cueSheet(ePtr< iCueSheet > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) stream(ePtr< iStreamableService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) timeshift(ePtr< iTimeshiftService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) subServices(ePtr< iSubserviceList > &SWIG_OUTPUT)=0
virtual RESULT stop()=0
virtual SWIG_VOID(RESULT) rdsDecoder(ePtr< iRdsDecoder > &SWIG_OUTPUT)=0
virtual RESULT setTarget(int target, bool noaudio=false)=0
virtual void setQpipMode(bool value, bool audio)=0
virtual SWIG_VOID(RESULT) seek(ePtr< iSeekableService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) subtitle(ePtr< iSubtitleOutput > &SWIG_OUTPUT)=0
Definition: iservice.h:614
@ RadioText
Definition: iservice.h:620
@ RtpText
Definition: iservice.h:620
Definition: iservice.h:625
virtual SWIG_PYOBJECT(ePyObject) getRassInteractiveMask()=0
virtual void showRassSlidePicture()=0
virtual void showRassInteractivePic(int page, int subpage)=0
virtual std::string getText(int x=RadioText)=0
Definition: iservice.h:1013
@ evRecordRunning
Definition: iservice.h:1024
@ evRecordFailed
Definition: iservice.h:1027
@ evStart
Definition: iservice.h:1020
@ evEnd
Definition: iservice.h:1021
@ evTuneFailed
Definition: iservice.h:1023
@ evGstRecordEnded
Definition: iservice.h:1033
@ evPvrTuneStart
Definition: iservice.h:1031
@ evRecordStopped
Definition: iservice.h:1025
@ evNewEventInfo
Definition: iservice.h:1029
@ evTuneStart
Definition: iservice.h:1030
@ evRecordAborted
Definition: iservice.h:1032
@ evTunedIn
Definition: iservice.h:1022
@ evRecordWriteError
Definition: iservice.h:1028
@ evNewProgramInfo
Definition: iservice.h:1026
@ errOpenRecordFile
Definition: iservice.h:1037
@ NoError
Definition: iservice.h:1036
@ errNoResources
Definition: iservice.h:1043
@ errNoDemuxAvailable
Definition: iservice.h:1038
@ errTuneFailed
Definition: iservice.h:1041
@ errNoTsRecorderAvailable
Definition: iservice.h:1039
@ errMisconfiguration
Definition: iservice.h:1042
@ errDiskFull
Definition: iservice.h:1040
Definition: iservice.h:1049
virtual RESULT prepareStreaming(bool descramble=true, bool includeecm=false)=0
virtual SWIG_VOID(RESULT) getError(int &SWIG_OUTPUT)=0
virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1, const char *name=0, const char *descr=0, const char *tags=0, bool descramble=true, bool recordecm=false, int packetsize=188)=0
virtual RESULT stop()=0
virtual RESULT start(bool simulate=false)=0
virtual SWIG_VOID(RESULT) frontendInfo(ePtr< iFrontendInformation > &SWIG_OUTPUT)=0
virtual RESULT connectEvent(const sigc::slot2< void, iRecordableService *, int > &event, ePtr< eConnection > &connection)=0
virtual SWIG_VOID(RESULT) stream(ePtr< iStreamableService > &SWIG_OUTPUT)=0
virtual SWIG_VOID(RESULT) subServices(ePtr< iSubserviceList > &SWIG_OUTPUT)=0
Definition: iservice.h:517
@ dirBackward
Definition: iservice.h:523
@ dirForward
Definition: iservice.h:523
Definition: iservice.h:528
virtual RESULT getPlayPosition(pts_t &SWIG_OUTPUT)=0
virtual RESULT setTrickmode(int trick=0)=0
virtual RESULT isCurrentlySeekable()=0
virtual RESULT seekChapter(int)
Definition: iservice.h:542
virtual RESULT seekRelative(int direction, pts_t to)=0
virtual RESULT seekTitle(int)
Definition: iservice.h:543
virtual RESULT getLength(pts_t &SWIG_OUTPUT)=0
virtual RESULT seekTo(pts_t to)=0
Definition: iservice.h:1095
virtual SWIG_VOID(RESULT) play(const eServiceReference &
virtual ePtr< iPlayableService > & SWIG_OUTPUT
Definition: iservice.h:1101
Definition: iservice.h:260
virtual unsigned char * getBuffer(unsigned int &size) const
Definition: iservice.h:265
virtual int getInteger(unsigned int index) const
Definition: iservice.h:262
virtual double getDouble(unsigned int index) const
Definition: iservice.h:264
virtual std::string getString(unsigned int index) const
Definition: iservice.h:263
Definition: iservice.h:296
@ resIsString
Definition: iservice.h:416
@ resNA
Definition: iservice.h:415
@ resIsPyObject
Definition: iservice.h:417
@ sTagImage
Definition: iservice.h:393
@ sTagAudioCodec
Definition: iservice.h:379
@ sTotalTitles
Definition: iservice.h:348
@ sGamma
Definition: iservice.h:410
@ sTagAlbum
Definition: iservice.h:354
@ sHBBTVUrl
Definition: iservice.h:403
@ sBuffer
Definition: iservice.h:405
@ sVideoPID
Definition: iservice.h:315
@ sTSID
Definition: iservice.h:323
@ sTimeCreate
Definition: iservice.h:329
@ sTagComposer
Definition: iservice.h:356
@ sNamespace
Definition: iservice.h:324
@ sTagAlbumSortname
Definition: iservice.h:355
@ sProvider
Definition: iservice.h:325
@ sTagReferenceLevel
Definition: iservice.h:391
@ sIsDedicated3D
Definition: iservice.h:406
@ sTagEncoder
Definition: iservice.h:385
@ sVideoType
Definition: iservice.h:334
@ sTagMinimumBitrate
Definition: iservice.h:382
@ sProgressive
Definition: iservice.h:306
@ sTagBitrate
Definition: iservice.h:380
@ sTagVersion
Definition: iservice.h:368
@ sTagCodec
Definition: iservice.h:377
@ sCurrentChapter
Definition: iservice.h:345
@ sTagCopyrightURI
Definition: iservice.h:372
@ sTagAttachment
Definition: iservice.h:395
@ sServiceref
Definition: iservice.h:328
@ sTagOrganization
Definition: iservice.h:370
@ sIsMultichannel
Definition: iservice.h:307
@ sLiveStreamDemuxId
Definition: iservice.h:404
@ sTagContact
Definition: iservice.h:373
@ sTagAlbumPeak
Definition: iservice.h:390
@ sVideoWidth
Definition: iservice.h:341
@ sIsCrypted
Definition: iservice.h:303
@ sTransferBPS
Definition: iservice.h:401
@ sTagArtistSortname
Definition: iservice.h:353
@ sPMTPID
Definition: iservice.h:318
@ sSID
Definition: iservice.h:321
@ sTagAlbumVolumeCount
Definition: iservice.h:364
@ sFileSize
Definition: iservice.h:330
@ sAudioPID
Definition: iservice.h:316
@ sTagLanguageCode
Definition: iservice.h:392
@ sPCRPID
Definition: iservice.h:317
@ sTagPreviewImage
Definition: iservice.h:394
@ sTagLocation
Definition: iservice.h:365
@ sTagGenre
Definition: iservice.h:358
@ sTagMaximumBitrate
Definition: iservice.h:383
@ sTagKeywords
Definition: iservice.h:397
@ sAspect
Definition: iservice.h:304
@ sTagBeatsPerMinute
Definition: iservice.h:396
@ sTXTPID
Definition: iservice.h:319
@ sCAIDs
Definition: iservice.h:332
@ sTagArtist
Definition: iservice.h:352
@ sTagTitle
Definition: iservice.h:350
@ sTagExtendedComment
Definition: iservice.h:360
@ sTransponderData
Definition: iservice.h:343
@ sCAIDPIDs
Definition: iservice.h:333
@ sTagAlbumVolumeNumber
Definition: iservice.h:363
@ sTagNominalBitrate
Definition: iservice.h:381
@ sONID
Definition: iservice.h:322
@ sFrameRate
Definition: iservice.h:305
@ sTagTitleSortname
Definition: iservice.h:351
@ sTagSerial
Definition: iservice.h:384
@ sTagEncoderVersion
Definition: iservice.h:386
@ sTagAlbumGain
Definition: iservice.h:389
@ sTagLicenseURI
Definition: iservice.h:375
@ sTagTrackCount
Definition: iservice.h:362
@ sVideoHeight
Definition: iservice.h:340
@ sDVBState
Definition: iservice.h:338
@ sTagTrackGain
Definition: iservice.h:387
@ sCenterDVBSubs
Definition: iservice.h:408
@ sDescription
Definition: iservice.h:327
@ sUser
Definition: iservice.h:412
@ sTagChannelMode
Definition: iservice.h:399
@ sTagISRC
Definition: iservice.h:369
@ sTagVideoCodec
Definition: iservice.h:378
@ sCurrentTitle
Definition: iservice.h:346
@ sTags
Definition: iservice.h:336
@ sTagDescription
Definition: iservice.h:367
@ sTagPerformer
Definition: iservice.h:376
@ sHideVBI
Definition: iservice.h:407
@ sTotalChapters
Definition: iservice.h:347
@ sTagDate
Definition: iservice.h:357
@ sTagComment
Definition: iservice.h:359
@ sTagTrackPeak
Definition: iservice.h:388
@ sTagCopyright
Definition: iservice.h:371
@ sTagTrackNumber
Definition: iservice.h:361
@ sTagHomepage
Definition: iservice.h:366
@ sTagLicense
Definition: iservice.h:374
@ sTagCRC
Definition: iservice.h:398
Definition: iservice.h:433
virtual PyObject * getHbbTVApplications()
Definition: iservice.h:447
virtual virtual SWIG_VOID(RESULT) getName(std SWIG_VOID(RESULT) getEvent(ePtr< eServiceEvent > &SWIG_OUTPUT
virtual ePtr< iServiceInfoContainer > getInfoObject(int w)
Definition: service.cpp:340
virtual ePtr< iDVBTransponderData > getTransponderData()
Definition: service.cpp:346
virtual std::string getInfoString(int w)
Definition: service.cpp:335
virtual int getInfo(int w)
Definition: service.cpp:330
virtual long long getFileSize()
Definition: service.cpp:356
virtual void getCaIds(std::vector< int > &caids, std::vector< int > &ecmpids, std::vector< std::string > &ecmdatabytes)
Definition: service.cpp:352
virtual int setInfo(int w, int v)
Definition: service.cpp:361
virtual void getAITApplications(std::map< int, std::string > &aitlist)
Definition: iservice.h:446
virtual virtual SWIG_VOID(RESULT) getName(std int nownext
Definition: iservice.h:440
virtual int setInfoString(int w, const char *v)
Definition: service.cpp:366
Definition: iservice.h:891
@ keyUp
Definition: iservice.h:900
@ keyLeft
Definition: iservice.h:898
@ keyOk
Definition: iservice.h:902
@ keyDown
Definition: iservice.h:901
@ keyUser
Definition: iservice.h:903
@ keyRight
Definition: iservice.h:899
Definition: iservice.h:909
virtual SWIG_VOID(RESULT) keyPressed(int key)=0
Definition: iservice.h:820
virtual RESULT deleteFromDisk(int simulate=1)=0
Definition: iservice.h:269
virtual std::string & SWIG_OUTPUT
Definition: iservice.h:275
virtual int getLength(const eServiceReference &ref)
Definition: service.cpp:272
virtual ePtr< eServiceEvent > time_t start_time
Definition: iservice.h:279
virtual long long getFileSize(const eServiceReference &ref)
Definition: service.cpp:310
virtual ePtr< iDVBTransponderData > getTransponderData(const eServiceReference &ref)
Definition: service.cpp:304
virtual std::string getInfoString(const eServiceReference &ref, int w)
Definition: service.cpp:293
virtual int isPlayable(const eServiceReference &ref, const eServiceReference &ignore, bool simulate=false)
Definition: service.cpp:277
virtual int getInfo(const eServiceReference &ref, int w)
Definition: service.cpp:288
virtual bool isCrypted()
Definition: service.cpp:315
virtual int setInfo(const eServiceReference &ref, int w, int v)
Definition: service.cpp:320
virtual SWIG_VOID(RESULT) getName(const eServiceReference &ref
virtual ePtr< iServiceInfoContainer > getInfoObject(int w)
Definition: service.cpp:298
virtual int setInfoString(const eServiceReference &ref, int w, const char *v)
Definition: service.cpp:325
Definition: iservice.h:869
virtual int getBufferPercentage() const =0
virtual int getAverageOutputRate() const =0
virtual int getAverageInputRate() const =0
virtual int getBufferSpace() const =0
virtual int getBufferSize() const =0
Definition: iservice.h:840
virtual SWIG_VOID(RESULT) getPcrPid(int &result) const =0
virtual SWIG_VOID(RESULT) getServiceId(int &result) const =0
virtual virtual SWIG_VOID(RESULT) getCaIds(std SWIG_VOID(RESULT) getDefaultAudioPid(int &result) const =0
virtual SWIG_VOID(RESULT) getPatPid(int &result) const =0
virtual SWIG_VOID(RESULT) getDemuxId(int &result) const =0
virtual SWIG_VOID(RESULT) getTxtPid(int &result) const =0
virtual SWIG_VOID(RESULT) getAdapterId(int &result) const =0
Definition: iservice.h:858
virtual ePtr< iStreamData > getStreamingData()=0
Definition: iservice.h:879
virtual ePtr< iStreamBufferInfo > getBufferCharge()=0
virtual int setBufferSize(int size)=0
Definition: iservice.h:640
virtual unsigned int n
Definition: iservice.h:647
virtual int getNumberOfSubservices()=0
virtual SWIG_VOID(RESULT) getSubservice(eServiceReference &SWIG_OUTPUT
Definition: iservice.h:736
virtual RESULT getCachedSubtitle(SubtitleTrack &track)=0
virtual RESULT getSubtitleList(std::vector< SubtitleTrack > &subtitlelist)=0
virtual RESULT enableSubtitles(iSubtitleUser *user, SubtitleTrack &track)=0
virtual RESULT disableSubtitles()=0
Definition: iservice.h:725
virtual void setPage(const eDVBTeletextSubtitlePage &p)=0
virtual void setPixmap(ePtr< gPixmap > &pixmap, gRegion changed, eRect dest)=0
virtual void destroy()=0
virtual void setPage(const eVobSubtitlePage &p)=0
virtual void setPage(const ePangoSubtitlePage &p)=0
virtual void setPage(const eDVBSubtitlePage &p)=0
Definition: iservice.h:675
virtual bool startTapToFD(int fd, const std::vector< int > &pids, int packetsize=188)=0
virtual void stopTapToFD()=0
Definition: iservice.h:653
virtual int isTimeshiftActive()=0
virtual RESULT saveTimeshiftFile()=0
virtual void switchToLive()=0
virtual RESULT stopTimeshift(bool swToLive=true)=0
virtual int isTimeshiftEnabled()=0
virtual RESULT setNextPlaybackFile(const char *fn)=0
virtual std::string getTimeshiftFilename()=0
virtual RESULT activateTimeshift()=0
virtual RESULT startTimeshift()=0
#define NULL
Definition: eerror.h:101
const char * filename
Definition: epng.h:36
SWIG_TEMPLATE_TYPEDEF(ePtr< iStaticServiceInformation >, iStaticServiceInformationPtr)
SWIG_ALLOW_OUTPUT_SIMPLE(eServiceReference)
PyObject * New_eServiceReference(const eServiceReference &ref)
PyObject * New_iRecordableServicePtr(const ePtr< iRecordableService > &ref)
SWIG_IGNORE(iPauseableService)
long long pts_t
Definition: iservice.h:233
PyObject * PyFrom(ePtr< iRecordableService > &c)
Definition: iservice.h:1072
ePyObject Impl_New_iRecordableServicePtr(const ePtr< iRecordableService > &ptr)
Definition: iservice.h:1085
ePyObject Impl_New_eServiceReference(const eServiceReference &ref)
Definition: iservice.h:225
def play(session, **kwargs)
Definition: Extensions/DVDPlayer/plugin.py:15
enable
Definition: Extensions/MiniTV/plugin.py:8
size
Definition: Plugins/SystemPlugins/PositionerSetup/log.py:16
name
Definition: newplugin.py:9
line
Definition: newplugin.py:87
target
Definition: newplugin.py:59
file
Definition: newplugin.py:100
dictionary info
Definition: GetEcmInfo.py:9
value
Definition: Profile.py:29
val
Definition: UnitConversions.py:88
list ref
Definition: create_picon_e1_to_e2.py:17
pos
Definition: enigma_py_patcher.py:16
dest
Definition: enigma_py_patcher.py:10
list list
Definition: main.py:25
index
Definition: main.py:28
p
Definition: upgrade.py:63
int RESULT
Definition: object.h:12
else result
Definition: picload.cpp:1534
std::string int x
Definition: picload.cpp:1503
Definition: subtitle.h:105
Definition: teletext.h:26
Definition: esubtitle.h:26
Definition: esubtitle.h:34
Definition: iservice.h:548
std::string getDescription()
Definition: iservice.h:554
std::string m_description
Definition: iservice.h:550
int m_pid
Definition: iservice.h:552
std::string getLanguage()
Definition: iservice.h:555
std::string m_language
Definition: iservice.h:551
int getPID()
Definition: iservice.h:556
Definition: iservice.h:739
std::string language_code
Definition: iservice.h:744
int pid
Definition: iservice.h:741
int type
Definition: iservice.h:740
int magazine_number
Definition: iservice.h:743
int page_number
Definition: iservice.h:742
#define SWIG_VOID(x)
Definition: swig.h:22
#define SWIG_OUTPUT
Definition: swig.h:20
#define SWIG_PYOBJECT(x)
Definition: swig.h:23