mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Implemented sort mode for recordings
This commit is contained in:
		
							
								
								
									
										12
									
								
								recording.h
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user