summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-11-01 10:40:38 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-11-01 10:40:38 +0100
commit0b62aff0e3385ed0c11fda145c2a5167bbc1c56d (patch)
tree6067296e3f76b842a59919c3453a45c83538ad97 /recording.h
parentc88e65b6385a9c72778ea46fe4c4c805976c7b96 (diff)
downloadvdr-0b62aff0e3385ed0c11fda145c2a5167bbc1c56d.tar.gz
vdr-0b62aff0e3385ed0c11fda145c2a5167bbc1c56d.tar.bz2
Now using qsort() to sort cListBase lists
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/recording.h b/recording.h
index 88b90d3b..184f49ef 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.31 2004/07/17 11:09:49 kls Exp $
+ * $Id: recording.h 1.32 2004/10/31 16:24:38 kls Exp $
*/
#ifndef __RECORDING_H
@@ -36,12 +36,12 @@ class cRecording : public cListObject {
private:
mutable int resume;
mutable char *titleBuffer;
- char *sortBuffer;
+ mutable char *sortBuffer;
mutable char *fileName;
mutable char *name;
char *summary;
- char *StripEpisodeName(char *s);
- char *SortName(void);
+ static char *StripEpisodeName(char *s);
+ char *SortName(void) const;
int GetResume(void) const;
public:
time_t start;
@@ -50,7 +50,7 @@ public:
cRecording(cTimer *Timer, const char *Title, const char *Subtitle, const char *Summary);
cRecording(const char *FileName);
~cRecording();
- virtual bool operator< (const cListObject &ListObject);
+ virtual int Compare(const cListObject &ListObject) const;
const char *Name(void) const { return name; }
const char *FileName(void) const;
const char *Title(char Delimiter = ' ', bool NewIndicator = false, int Level = -1) const;