diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 11:35:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 11:35:56 +0200 |
commit | da501a4b8299ca37efab4612a1a63d829beb2784 (patch) | |
tree | d3e25e26a8ac3fca57b3ddeacd4291badff81847 /recording.h | |
parent | 9e8aac388237e7afff6cae5bbf5ee08756633f53 (diff) | |
download | vdr-da501a4b8299ca37efab4612a1a63d829beb2784.tar.gz vdr-da501a4b8299ca37efab4612a1a63d829beb2784.tar.bz2 |
The 'new' indicator in the Recordings menu is now kept up-to-date
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recording.h b/recording.h index 23c4fd84..aa33dd3b 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 1.41 2005/09/25 10:07:40 kls Exp $ + * $Id: recording.h 1.42 2005/09/25 11:31:28 kls Exp $ */ #ifndef __RECORDING_H @@ -79,6 +79,7 @@ public: const cRecordingInfo *Info(void) const { return info; } const char *PrefixFileName(char Prefix); int HierarchyLevels(void) const; + void ResetResume(void) const; bool IsNew(void) const { return GetResume() <= 0; } bool IsEdited(void) const; bool WriteInfo(void); @@ -116,6 +117,7 @@ public: bool NeedsUpdate(void); void ChangeState(void) { state++; } bool StateChanged(int &State); + void ResetResume(const char *ResumeFileName = NULL); cRecording *GetByName(const char *FileName); void AddByName(const char *FileName); void DelByName(const char *FileName); |