From 85b8e41e8bb16e4e66561768026456ec5f0ee276 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 24 Apr 2000 18:00:00 +0200 Subject: Version 0.04 - Changed name from 'osm' to 'vdr' to avoid mixups with the 'oms' program that appears to be in use with DVD replay. - Implemented a channel display in the top menu line. - Implemented replay progress display (press "Ok" when replaying to bring it up). - Implemented direct channel selecting by pressing the numeric keys. - Added several 'const' keywords to please stricter compilers. - The repeat function for the remote control no longer adapts dynamically to the timing of the RCU (this sometimes caused the repeat function to kick in too early). - Channel selection is now blocked when recording or replaying. - Improved process handling. --- recording.h | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'recording.h') diff --git a/recording.h b/recording.h index 5a5e8de..eeea560 100644 --- a/recording.h +++ b/recording.h @@ -1,10 +1,10 @@ /* * recording.h: Recording file handling * - * See the main source file 'osm.c' for copyright information and + * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 1.2 2000/04/14 15:12:42 kls Exp $ + * $Id: recording.h 1.6 2000/04/24 09:45:49 kls Exp $ */ #ifndef __RECORDING_H @@ -12,15 +12,17 @@ #include #include "config.h" -#include "dvbapi.h" #include "tools.h" void AssertFreeDiskSpace(void); class cRecording : public cListObject { -public: - char *name; + friend class cRecordings; +private: + char *titleBuffer; char *fileName; + char *name; +public: time_t start; int priority; int lifetime; @@ -29,18 +31,13 @@ public: cRecording(const char *FileName); ~cRecording(); const char *FileName(void); + const char *Title(char Delimiter = ' '); bool Delete(void); - // Changes the file name so that it will no longer be visible in the OSM + // Changes the file name so that it will no longer be visible in the "Recordings" menu // Returns false in case of error bool Remove(void); // Actually removes the file from the disk // Returns false in case of error - bool Record(void); - // Starts recording of the file - bool Play(void); - // Starts playback of the file - void Stop(void); - // Stops recording or playback of the file }; class cRecordings : public cList { -- cgit v1.2.3