summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-12-26 15:49:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2020-12-26 15:49:01 +0100
commit2b3556b460665d9a4036b1623e7e7ff5ff6d37d8 (patch)
treebee99e68a196ba076440ad6516b5a0149996b6f2 /recording.h
parentd2e0087c4e13b2acbecc4bafb3cb2ab656c95339 (diff)
downloadvdr-2b3556b460665d9a4036b1623e7e7ff5ff6d37d8.tar.gz
vdr-2b3556b460665d9a4036b1623e7e7ff5ff6d37d8.tar.bz2
Implemented "Pattern Timers"2.5.1
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 1ba16bdc..6f26f2f6 100644
--- a/recording.h
+++ b/recording.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.h 4.10 2020/09/16 13:48:33 kls Exp $
+ * $Id: recording.h 5.1 2020/12/26 15:49:01 kls Exp $
*/
#ifndef __RECORDING_H
@@ -504,6 +504,20 @@ public:
cUnbufferedFile *NextFile(void);
};
+class cDoneRecordings {
+private:
+ cString fileName;
+ cStringList doneRecordings;
+ void Add(const char *Title);
+public:
+ bool Load(const char *FileName);
+ bool Save(void) const;
+ void Append(const char *Title);
+ bool Contains(const char *Title) const;
+ };
+
+extern cDoneRecordings DoneRecordingsPattern;
+
cString IndexToHMSF(int Index, bool WithFrame = false, double FramesPerSecond = DEFAULTFRAMESPERSECOND);
// Converts the given index to a string, optionally containing the frame number.
int HMSFToIndex(const char *HMSF, double FramesPerSecond = DEFAULTFRAMESPERSECOND);