summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-27 15:46:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-27 15:46:30 +0100
commit64fd9c4a1b44b125c67455b5b1b45fedcec7e4da (patch)
tree67f2e29f237f8b43452ca90c6c5a3a05a6a68da1 /remote.h
parent74c74fb5d2bdc026a611d74473788e4227d35a93 (diff)
downloadvdr-64fd9c4a1b44b125c67455b5b1b45fedcec7e4da.tar.gz
vdr-64fd9c4a1b44b125c67455b5b1b45fedcec7e4da.tar.bz2
Implemented key macros
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/remote.h b/remote.h
index f715ade7..2bb9ea53 100644
--- a/remote.h
+++ b/remote.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remote.h 1.17 2002/09/29 11:26:45 kls Exp $
+ * $Id: remote.h 1.18 2002/10/27 15:16:50 kls Exp $
*/
#ifndef __REMOTE_H
@@ -20,7 +20,7 @@ typedef unsigned long long int uint64;
class cRemote : public cListObject {
private:
- enum { MaxKeys = 16 };
+ enum { MaxKeys = MAXKEYSINMACRO };
static eKeys keys[MaxKeys];
static int in;
static int out;
@@ -42,6 +42,7 @@ public:
static void SetLearning(bool On) { learning = On; }
static void Clear(void);
static bool Put(eKeys Key);
+ static bool PutMacro(eKeys Key);
static eKeys Get(int WaitMs = 1000, char **UnknownCode = NULL);
};