diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-15 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-15 18:00:00 +0200 |
commit | 37250a0568d5b1d689d5c59f983e9be228ed49c2 (patch) | |
tree | f5b3cb133d5ec1ede63de04cf9c394bcf4a514a2 /config.h | |
parent | 6feebe674c09b65e43012bf439c201cfb65aa82c (diff) | |
download | vdr-patch-lnbsharing-37250a0568d5b1d689d5c59f983e9be228ed49c2.tar.gz vdr-patch-lnbsharing-37250a0568d5b1d689d5c59f983e9be228ed49c2.tar.bz2 |
Version 0.03vdr_osm-0.03
- Actual record/replay now works.
- Dropped the idea of different "recording qualities" (a 36GB harddisk is
able to store some 18 hours in full quality, so we don't really need that).
- Termination signals are now caught and the program cleans up before exiting.
- Support for CICAM.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -4,12 +4,13 @@ * See the main source file 'osm.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.2 2000/03/05 14:58:23 kls Exp $ + * $Id: config.h 1.3 2000/04/15 12:44:23 kls Exp $ */ #ifndef __CONFIG_H #define __CONFIG_H +#define _GNU_SOURCE #include <stdio.h> #include <string.h> #include <time.h> @@ -30,6 +31,14 @@ enum eKeys { // "Up" and "Down" must be the first two keys! kGreen, kYellow, kBlue, + kRecord, + kPause, + kStop, + kBegin, + kSearchForward, + kSearchBack, + kSkipForward, + kSkipBack, kNone }; @@ -64,6 +73,8 @@ public: int srate; int vpid; int apid; + int ca; + int pnr; cChannel(void); cChannel(const cChannel *Channel); bool Parse(char *s); @@ -84,11 +95,10 @@ public: int start; int stop; //TODO VPS??? - char quality; int priority; int lifetime; char file[MaxFileName]; - cTimer(void); + cTimer(bool Instant = false); bool Parse(char *s); bool Save(FILE *f); bool IsSingleEvent(void); @@ -128,7 +138,7 @@ public: if (l->Parse(buffer)) Add(l); else { - fprintf(stderr, "error in %s, line %d\n", fileName, line); + esyslog(LOG_ERR, "error in %s, line %d\n", fileName, line); delete l; result = false; break; @@ -137,7 +147,7 @@ public: fclose(f); } else { - fprintf(stderr, "can't open '%s'\n", fileName); + esyslog(LOG_ERR, "can't open '%s'\n", fileName); result = false; } return result; @@ -168,7 +178,6 @@ class cChannels : public cConfig<cChannel> {}; class cTimers : public cConfig<cTimer> {}; extern int CurrentChannel; -extern bool ChannelLocked; extern cChannels Channels; extern cTimers Timers; |