summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-07 11:00:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-07 11:00:35 +0200
commitb8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e (patch)
tree1e1f082b104bbf673f22832144869f44fce0a719 /recording.h
parentdf15ec5f91b9ffba3055a162235e67dbb9bdebe5 (diff)
downloadvdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.gz
vdr-b8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e.tar.bz2
Sorting recordings internally, with episodes sorted chronologically
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index d2391a90..aead97e3 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.17 2001/09/23 13:43:58 kls Exp $
+ * $Id: recording.h 1.18 2001/10/07 10:38:56 kls Exp $
*/
#ifndef __RECORDING_H
@@ -32,9 +32,12 @@ class cRecording : public cListObject {
friend class cRecordings;
private:
char *titleBuffer;
+ char *sortBuffer;
char *fileName;
char *name;
char *summary;
+ char *StripEpisodeName(char *s);
+ char *SortName(void);
public:
time_t start;
int priority;
@@ -42,6 +45,7 @@ public:
cRecording(cTimer *Timer, const char *Subtitle, const char *Summary);
cRecording(const char *FileName);
~cRecording();
+ virtual bool operator< (const cListObject &ListObject);
const char *FileName(void);
const char *Title(char Delimiter = ' ', bool NewIndicator = false);
const char *Summary(void) { return summary; }