diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-09-17 09:36:50 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-09-17 09:36:50 +0200 |
commit | 27046cf8a9f1047e39724ddb1702957f4b395f36 (patch) | |
tree | 0a4b25e04063568883f74f218c689389e8b53854 /interface.c | |
parent | 4716cfb5a1ebae09a8a277b8943d3a885dcf1365 (diff) | |
download | vdr-27046cf8a9f1047e39724ddb1702957f4b395f36.tar.gz vdr-27046cf8a9f1047e39724ddb1702957f4b395f36.tar.bz2 |
Implemented SVDRP command 'HITK'
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 0993ba8b..5937e5c4 100644 --- a/interface.c +++ b/interface.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.c 1.16 2000/09/17 08:21:45 kls Exp $ + * $Id: interface.c 1.17 2000/09/17 09:25:30 kls Exp $ */ #include "interface.h" @@ -66,6 +66,11 @@ eKeys cInterface::GetKey(bool Wait) return Key; } +void cInterface::PutKey(eKeys Key) +{ + keyFromWait = Key; +} + eKeys cInterface::Wait(int Seconds, bool KeepChar) { int t0 = time_ms() + Seconds * 1000; |