diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-16 10:35:36 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-16 10:35:36 +0200 |
commit | 5d99df7b7760c4a2b497c737a15b609008f6d56d (patch) | |
tree | a342f2f7465a73fe2bd63848d87566af8d646dd3 /recording.h | |
parent | 7aab06d8b1c6de59d06756d44c631984acd299b3 (diff) | |
download | vdr-5d99df7b7760c4a2b497c737a15b609008f6d56d.tar.gz vdr-5d99df7b7760c4a2b497c737a15b609008f6d56d.tar.bz2 |
Implemented 'skins' and 'themes'
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/recording.h b/recording.h index 59a9dca0..01a25ab4 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.28 2003/10/17 14:27:36 kls Exp $ + * $Id: recording.h 1.29 2004/05/07 14:24:22 kls Exp $ */ #ifndef __RECORDING_H @@ -34,15 +34,15 @@ public: class cRecording : public cListObject { private: - int resume; - char *titleBuffer; + mutable int resume; + mutable char *titleBuffer; char *sortBuffer; - char *fileName; - char *name; + mutable char *fileName; + mutable char *name; char *summary; char *StripEpisodeName(char *s); char *SortName(void); - int GetResume(void); + int GetResume(void) const; public: time_t start; int priority; @@ -51,14 +51,14 @@ public: cRecording(const char *FileName); ~cRecording(); virtual bool operator< (const cListObject &ListObject); - const char *Name(void) { return name; } - const char *FileName(void); - const char *Title(char Delimiter = ' ', bool NewIndicator = false, int Level = -1); - const char *Summary(void) { return summary; } + const char *Name(void) const { return name; } + const char *FileName(void) const; + const char *Title(char Delimiter = ' ', bool NewIndicator = false, int Level = -1) const; + const char *Summary(void) const { return summary; } const char *PrefixFileName(char Prefix); - int HierarchyLevels(void); - bool IsNew(void) { return GetResume() <= 0; } - bool IsEdited(void); + int HierarchyLevels(void) const; + bool IsNew(void) const { return GetResume() <= 0; } + bool IsEdited(void) const; bool WriteSummary(void); bool Delete(void); // Changes the file name so that it will no longer be visible in the "Recordings" menu |