#ifndef __lib_dvb_dvbmid_h
#define __lib_dvb_dvbmid_h
+#ifndef SWIG
#include <map>
#include <lib/dvb/idvb.h>
#include <lib/dvb/dvb.h>
void buildCAPMT(eTable<ProgramMapSection> *ptr);
};
+#endif
+
class eDVBServicePMTHandler: public Object
{
+#ifndef SWIG
friend class eDVBCAService;
eServiceReferenceDVB m_reference;
ePtr<eDVBService> m_service;
public:
eDVBServicePMTHandler();
~eDVBServicePMTHandler();
-
+#endif
+
+#ifdef SWIG
+private:
+ eDVBServicePMTHandler();
+public:
+#endif
+
enum
{
eventNoResources, // a requested resource couldn't be allocated
eventSOF, // seek pre start
eventEOF, // a file playback did end
};
-
+#ifndef SWIG
Signal1<void,int> serviceEvent;
struct videoStream
{
std::vector<videoStream> videoStreams;
std::vector<audioStream> audioStreams;
+ int defaultAudioStream;
std::vector<subtitleStream> subtitleStreams;
std::set<uint16_t> caids;
int pcrPid;
int pmtPid;
int textPid;
bool isCrypted() { return !caids.empty(); }
+
+ PyObject *createPythonObject();
};
int getProgramInfo(struct program &program);
private:
bool m_have_cached_program;
program m_cached_program;
+#endif
};
#endif