struct eBouquet
{
std::string m_bouquet_name;
- std::string m_path;
+ std::string m_filename; // without path.. just name
typedef std::list<eServiceReference> list;
list m_services;
// the following four methods are implemented in db.cpp
:eServiceReference(eServiceReference::idDVB, 0)
{
}
+
+ eServiceReferenceDVB(const std::string &string)
+ :eServiceReference(string)
+ {
+ }
};
};
virtual RESULT setTone(int tone)=0;
enum {
- voltageOff, voltage13, voltage18
+ voltageOff, voltage13, voltage18, voltage13_5, voltage18_5
};
virtual RESULT setVoltage(int voltage)=0;
virtual RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc)=0;
state_ok, /* ok */
state_release /* channel is being shut down. */
};
+
+ enum
+ {
+ evtEOF, evtFailed
+ };
virtual RESULT connectStateChange(const Slot1<void,iDVBChannel*> &stateChange, ePtr<eConnection> &connection)=0;
+ virtual RESULT connectEvent(const Slot2<void,iDVBChannel*,int> &eventChange, ePtr<eConnection> &connection)=0;
virtual RESULT getState(int &state)=0;
/* demux capabilities */
/** Set Displayed Audio PID and type */
virtual RESULT setAudioPID(int apid, int type)=0;
+ /** Set Displayed Videotext PID */
+ virtual RESULT setTextPID(int vpid)=0;
+
/** Set Sync mode to PCR */
virtual RESULT setSyncPCR(int pcrpid)=0;
enum { sm_Audio, sm_Video };
/** Set Sync mode to either audio or video master */
virtual RESULT setSyncMaster(int who)=0;
-
+
/** Apply settings */
virtual RESULT start()=0;