aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicedvbrecord.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-03 11:41:25 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-03 11:41:25 +0000
commit6696994da0d59a3b483eda65d1dc8b1a9df67cc0 (patch)
tree7b246636bd292b1b0234dd11d74c658aacf65e88 /lib/service/servicedvbrecord.h
parentbfb6b4765a85a65047655ad4282756ca31229c3e (diff)
downloadenigma2-6696994da0d59a3b483eda65d1dc8b1a9df67cc0.tar.gz
enigma2-6696994da0d59a3b483eda65d1dc8b1a9df67cc0.zip
add code to simulate recordings (with faked frontends)
now its more easy to build a timer overlap detection or similar
Diffstat (limited to 'lib/service/servicedvbrecord.h')
-rw-r--r--lib/service/servicedvbrecord.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/service/servicedvbrecord.h b/lib/service/servicedvbrecord.h
index b46a73ea..17de033e 100644
--- a/lib/service/servicedvbrecord.h
+++ b/lib/service/servicedvbrecord.h
@@ -20,7 +20,7 @@ public:
RESULT connectEvent(const Slot2<void,iRecordableService*,int> &event, ePtr<eConnection> &connection);
RESULT prepare(const char *filename, time_t begTime, time_t endTime, int eit_event_id);
RESULT prepareStreaming();
- RESULT start();
+ RESULT start(bool simulate=false);
RESULT stop();
RESULT stream(ePtr<iStreamableService> &ptr);
RESULT getError(int &error) { error = m_error; return 0; }
@@ -31,6 +31,7 @@ public:
private:
enum { stateIdle, statePrepared, stateRecording };
+ bool m_simulate;
int m_state, m_want_record;
friend class eServiceFactoryDVB;
eDVBServiceRecord(const eServiceReferenceDVB &ref);