summaryrefslogtreecommitdiff
path: root/diseqc.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-12-08 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-12-08 18:00:00 +0100
commit2b15337b71d71c5e486efe738a507b550bb28843 (patch)
treedcd6fe2d5a57366e0c39ab1fd400ec20a4226ed6 /diseqc.h
parent96ebdbf4b1e495d44f8f837068af7c2d925bab62 (diff)
downloadvdr-patch-lnbsharing-2b15337b71d71c5e486efe738a507b550bb28843.tar.gz
vdr-patch-lnbsharing-2b15337b71d71c5e486efe738a507b550bb28843.tar.bz2
Version 1.1.19vdr-1.1.19
- The character '|' in description texts of EPG records is now interpreted as a newline character (suggested by Gerhard Steiner). - Updated 'channels.conf.cable' (thanks to Andreas Kool). - Improved handling of repeated remote keys. - The RCU now only sets the channel number display when there are no incoming remote control keys, which improves reaction on repeated keys. - The actual tuning is now done in a separate thread, which makes zapping through the channels a lot faster and no longer gets stuck on channels that don't broadcast. This also makes "Motor-DiSEqC" work (thanks to Reinhard Walter Buchner for his help in testing this). Since switching channels now no longer explicitly waits for a channel lock in the foreground thread, the "panic level" mechanism is no longer used (maybe we don't need it any more, anyway). - The keyboard is now by default always active to control VDR. The 'make' option REMOTE=KBD is therefore obsolete. When compiling VDR with REMOTE=RCU or REMOTE=LIRC, the keyboard can thus now be active together with the remote control. If you want to build VDR _without_ keyboard support you can set NO_KBD=1 in the 'make' call. Since the keyboard codes are now different from the ones used previously (which were mapped by the 'ncurses' library) you will need to go through the "Learning keys" procedure again. To do so, either delete the file /video/remote.conf or remove the KBD.* entries from it before starting this version of VDR. (Thanks to Thomas Sailer for pointing out how to set the terminal parameters to read from the keyboard). - The 'ncurses' library is now only necessary when compiling VDR with DEBUG_OSD=1.
Diffstat (limited to 'diseqc.h')
-rw-r--r--diseqc.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/diseqc.h b/diseqc.h
index f2b0e99..602bdec 100644
--- a/diseqc.h
+++ b/diseqc.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: diseqc.h 1.1 2002/10/05 13:02:52 kls Exp $
+ * $Id: diseqc.h 1.2 2002/12/07 13:54:02 kls Exp $
*/
#ifndef __DISEQC_H
@@ -31,7 +31,6 @@ private:
char polarization;
int lof;
char *commands;
- char *currentAction;
bool parsing;
uchar codes[MaxDiseqcCodes];
int numCodes;
@@ -41,7 +40,14 @@ public:
cDiseqc(void);
~cDiseqc();
bool Parse(const char *s);
- eDiseqcActions Execute(bool Start = false);
+ eDiseqcActions Execute(char **CurrentAction);
+ // Parses the DiSEqC commands and returns the appropriate action code
+ // with every call. CurrentAction must be the address of a character pointer,
+ // which is initialized to NULL. This pointer is used internally while parsing
+ // the commands and shall not be modified once Execute() has been called with
+ // it. Call Execute() repeatedly (always providing the same CurrentAction pointer)
+ // until it returns daNone. After a successful execution of all commands
+ // *CurrentAction points to the value 0x00.
int Source(void) const { return source; }
int Slof(void) const { return slof; }
char Polarization(void) const { return polarization; }