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.
This commit is contained in:
Klaus Schmidinger
2000-04-24 18:00:00 +02:00
parent 37250a0568
commit 85b8e41e8b
26 changed files with 748 additions and 444 deletions

View File

@@ -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 <time.h>
#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<cRecording> {