diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-01-18 12:55:47 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-01-18 12:55:47 +0100 |
commit | dee1225fa4d5de99b414b3748a21ef43e522818e (patch) | |
tree | c8950291f528a7cdecf5b17ff619e5b425eac983 /recording.h | |
parent | d78d6fba7e0079712abc58e85fd441c625bb82b6 (diff) | |
download | vdr-dee1225fa4d5de99b414b3748a21ef43e522818e.tar.gz vdr-dee1225fa4d5de99b414b3748a21ef43e522818e.tar.bz2 |
Made the functions cRecordingInfo::SetData() and cRecordingInfo::SetAux() public
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recording.h b/recording.h index 6f26f2f6..208bd8b5 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 5.1 2020/12/26 15:49:01 kls Exp $ + * $Id: recording.h 5.2 2021/01/18 12:55:47 kls Exp $ */ #ifndef __RECORDING_H @@ -74,8 +74,6 @@ private: char *fileName; cRecordingInfo(const cChannel *Channel = NULL, const cEvent *Event = NULL); bool Read(FILE *f); - void SetData(const char *Title, const char *ShortText, const char *Description); - void SetAux(const char *Aux); public: cRecordingInfo(const char *FileName); ~cRecordingInfo(); @@ -93,6 +91,8 @@ public: bool Write(FILE *f, const char *Prefix = "") const; bool Read(void); bool Write(void) const; + void SetData(const char *Title, const char *ShortText, const char *Description); + void SetAux(const char *Aux); }; class cRecording : public cListObject { @@ -150,7 +150,7 @@ public: ///< Returns the full path name to the recording directory, including the ///< video directory and the actual '*.rec'. For disk file access use. const char *Title(char Delimiter = ' ', bool NewIndicator = false, int Level = -1) const; - const cRecordingInfo *Info(void) const { return info; } + cRecordingInfo *Info(void) const { return info; } const char *PrefixFileName(char Prefix); int HierarchyLevels(void) const; void ResetResume(void) const; |