summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-06-09 14:32:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-06-09 14:32:29 +0200
commit440c119b0a80d40d05f48613de46f367597a3f29 (patch)
treec2cfc9d7ab6a9c0d0670866d5af5248b6f9df8cf /recording.h
parent0b6c96a5159962c9263166613ee594bf89ae0a60 (diff)
downloadvdr-440c119b0a80d40d05f48613de46f367597a3f29.tar.gz
vdr-440c119b0a80d40d05f48613de46f367597a3f29.tar.bz2
Implemented sort mode for recordings
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/recording.h b/recording.h
index 56659edc..8e712306 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 2.33 2012/06/03 09:49:09 kls Exp $
+ * $Id: recording.h 2.34 2012/06/09 13:55:22 kls Exp $
*/
#ifndef __RECORDING_H
@@ -83,7 +83,8 @@ class cRecording : public cListObject {
private:
mutable int resume;
mutable char *titleBuffer;
- mutable char *sortBuffer;
+ mutable char *sortBufferName;
+ mutable char *sortBufferTime;
mutable char *fileName;
mutable char *name;
mutable int fileSizeMB;
@@ -333,4 +334,11 @@ char *ExchangeChars(char *s, bool ToFileSystem);
bool GenerateIndex(const char *FileName);
+enum eRecordingsSortMode { rsmName, rsmTime };
+extern eRecordingsSortMode RecordingsSortMode;
+bool HasRecordingsSortMode(const char *Directory);
+void GetRecordingsSortMode(const char *Directory);
+void SetRecordingsSortMode(const char *Directory, eRecordingsSortMode SortMode);
+void IncRecordingsSortMode(const char *Directory);
+
#endif //__RECORDING_H