mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Made cRecording::GetResume() public
This commit is contained in:
parent
6749e4ead9
commit
ebab5f3ec1
@ -3237,6 +3237,7 @@ Stefan Braun <louis.braun@gmx.de>
|
||||
for reporting an endless loop in the DrawEllipse() functions for very small ellipses
|
||||
for suggesting to add the menu category mcRecordingEdit for marking menus that edit
|
||||
recording properties
|
||||
for suggesting to make cRecording::GetResume() public
|
||||
|
||||
Jochen Dolze <vdr@dolze.de>
|
||||
for changing cThread::SetIOPriority() from "best effort class" to "idle class" in order
|
||||
|
1
HISTORY
1
HISTORY
@ -8448,3 +8448,4 @@ Video Disk Recorder Revision History
|
||||
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
||||
- Added ARGSDIR to the ONEDIR section of Make.config.template (suggested by Derek
|
||||
Kelly).
|
||||
- Made cRecording::GetResume() public (suggested by Stefan Braun).
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user