diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-26 12:45:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-26 12:45:22 +0100 |
commit | 286af66cfb787b76ee7289c920a75a3dd21ce795 (patch) | |
tree | f3c726662154652682da356ef5fa66a91a0a4675 /recording.h | |
parent | f97b1069c6bdf519fd32280b35ed66abe6c02bde (diff) | |
download | vdr-286af66cfb787b76ee7289c920a75a3dd21ce795.tar.gz vdr-286af66cfb787b76ee7289c920a75a3dd21ce795.tar.bz2 |
Made several functions threadsafe (cont'd)
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recording.h b/recording.h index 184f49ef..a0f864f3 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.32 2004/10/31 16:24:38 kls Exp $ + * $Id: recording.h 1.33 2004/12/26 11:47:35 kls Exp $ */ #ifndef __RECORDING_H @@ -86,14 +86,12 @@ public: extern cRecordings Recordings; class cMark : public cListObject { -private: - static char *buffer; public: int position; char *comment; cMark(int Position = 0, const char *Comment = NULL); ~cMark(); - const char *ToText(void); + cString ToText(void); bool Parse(const char *s); bool Save(FILE *f); }; @@ -176,7 +174,7 @@ public: int NextFile(void); }; -const char *IndexToHMSF(int Index, bool WithFrame = false); +cString IndexToHMSF(int Index, bool WithFrame = false); // Converts the given index to a string, optionally containing the frame number. int HMSFToIndex(const char *HMSF); // Converts the given string (format: "hh:mm:ss.ff") to an index. |