diff options
author | Johann Friedrichs <johann.friedrichs@web.de> | 2017-07-30 13:02:25 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-07-30 13:02:25 +0200 |
commit | e5fe89b7fc7990bfec6a304736cd9c72f4c9552b (patch) | |
tree | 7b1622f3504c39f1d0dc05b68e494c3d16a9cfaa /recstatus.h | |
parent | 99d0b7b65fc20519d91c0debcbdf23f24f15fc24 (diff) | |
download | vdr-plugin-epgsearch-e5fe89b7fc7990bfec6a304736cd9c72f4c9552b.tar.gz vdr-plugin-epgsearch-e5fe89b7fc7990bfec6a304736cd9c72f4c9552b.tar.bz2 |
Use separate thread for recdone processing.
Diffstat (limited to 'recstatus.h')
-rw-r--r-- | recstatus.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/recstatus.h b/recstatus.h index c0104f9..dcc6fec 100644 --- a/recstatus.h +++ b/recstatus.h @@ -21,6 +21,9 @@ The author can be reached at cwieninger@gmx.de The project's page is at http://winni.vdr-developer.org/epgsearch */ +#ifndef __RECSTATUS_H +#define __RECSTATUS_H + #include <vdr/status.h> #include "recdone.h" #include "epgsearchtools.h" @@ -36,17 +39,20 @@ public: ~cRecDoneTimerObj() { timer = NULL; recDone = NULL; } // do not delete anything! }; +class cTimersRecording: public cList<cRecDoneTimerObj>, public cMutex { +}; + +extern cTimersRecording TimersRecording; + class cRecStatusMonitor : public cStatus { -public: - cList<cRecDoneTimerObj> TimersRecording; protected: virtual void Recording(const cDevice *Device, const char *Name, const char*, bool On); public: cRecStatusMonitor(); int TimerRecDevice(const cTimer*); - bool IsPesRecording(const cRecording *pRecording); - int RecLengthInSecs(const cRecording *pRecording); }; extern cRecStatusMonitor* gl_recStatusMonitor; + +#endif |