summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-11-12 14:51:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-11-12 14:51:18 +0100
commitbc06fdf4149cc019ee95cbcc150f7627bb7c14b5 (patch)
treeaf3e3608e902c25ab705ad1274325790e56907ea /recording.h
parentb951ca48a5e4bb15c52465485ef48dd0fb537330 (diff)
downloadvdr-bc06fdf4149cc019ee95cbcc150f7627bb7c14b5.tar.gz
vdr-bc06fdf4149cc019ee95cbcc150f7627bb7c14b5.tar.bz2
The return type of cMarks::Add() has been changed to void
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/recording.h b/recording.h
index 22c5d3a7..7118e783 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 2.38 2012/10/15 10:22:27 kls Exp $
+ * $Id: recording.h 2.39 2012/11/12 14:51:09 kls Exp $
*/
#ifndef __RECORDING_H
@@ -234,7 +234,7 @@ public:
bool Update(void);
void Align(void);
void Sort(void);
- cMark *Add(int Position);
+ void Add(int Position);
cMark *Get(int Position);
cMark *GetPrev(int Position);
cMark *GetNext(int Position);
@@ -301,6 +301,7 @@ public:
///< If there is no actual index data available, 0 is returned.
int Get(uint16_t FileNumber, off_t FileOffset);
int Last(void) { CatchUp(); return last; }
+ ///< Returns the index of the last entry in this file, or -1 if the file is empty.
int GetResume(void) { return resumeFile.Read(); }
bool StoreResume(int Index) { return resumeFile.Save(Index); }
bool IsStillRecording(void);