#include <lib/service/servicedvb.h>
-class eDVBServiceRecord: public iRecordableService, public Object
+class eDVBServiceRecord: public eDVBServiceBase,
+ public iRecordableService, public Object
{
DECLARE_REF(eDVBServiceRecord);
public:
- RESULT prepare(const char *filename);
+ RESULT prepare(const char *filename, time_t begTime, time_t endTime, int eit_event_id);
RESULT start();
RESULT stop();
private:
eDVBServiceRecord(const eServiceReferenceDVB &ref);
eServiceReferenceDVB m_ref;
- eDVBServicePMTHandler m_service_handler;
void serviceEvent(int event);
ePtr<iDVBTSRecorder> m_record;
int m_recording, m_tuned;
std::set<int> m_pids_active;
std::string m_filename;
+ int m_target_fd;
int doPrepare();
int doRecord();
+ RESULT frontendInfo(ePtr<iFrontendInformation> &ptr);
};
#endif