summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-31 13:37:02 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-31 13:37:02 +0100
commitebab5f3ec126326ee9ab3c24b362abf0ed0cffca (patch)
treeadacf8c63de85ccaf644f1b7330ff87b23deb04b /recording.h
parent6749e4ead9d394c9d86591366a2b49f46c4a3af9 (diff)
downloadvdr-ebab5f3ec126326ee9ab3c24b362abf0ed0cffca.tar.gz
vdr-ebab5f3ec126326ee9ab3c24b362abf0ed0cffca.tar.bz2
Made cRecording::GetResume() public
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/recording.h b/recording.h
index c9e950b3..1079ae1f 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 3.5 2015/01/17 14:33:05 kls Exp $
+ * $Id: recording.h 3.6 2015/01/31 13:34:44 kls Exp $
*/
#ifndef __RECORDING_H
@@ -117,7 +117,6 @@ private:
static char *StripEpisodeName(char *s, bool Strip);
char *SortName(void) const;
void ClearSortName(void);
- int GetResume(void) const;
time_t start;
int priority;
int lifetime;
@@ -160,6 +159,9 @@ public:
int FileSizeMB(void) const;
///< Returns the total file size of this recording (in MB), or -1 if the file
///< size is unknown.
+ int GetResume(void) const;
+ ///< Returns the index of the frame where replay of this recording shall
+ ///< be resumed, or -1 in case of an error.
bool IsNew(void) const { return GetResume() <= 0; }
bool IsEdited(void) const;
bool IsPesRecording(void) const { return isPesRecording; }