fix channelselection in timeredit dialog
[enigma2.git] / lib / service / servicedvbrecord.h
index 7f08c55486c66a314a142461d504f959335b5061..2b93b45aa3904bbf7950d6423f8bebc4cde458e0 100644 (file)
 
 #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:
@@ -24,7 +25,6 @@ private:
        eDVBServiceRecord(const eServiceReferenceDVB &ref);
        
        eServiceReferenceDVB m_ref;
-       eDVBServicePMTHandler m_service_handler;
        void serviceEvent(int event);
        
        ePtr<iDVBTSRecorder> m_record;
@@ -32,9 +32,11 @@ private:
        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