summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-08 12:24:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-08 12:24:30 +0200
commit19f9f9cfce5dcbd0e5b468da85163f589c1082f2 (patch)
treec829668a8323ef631fb9bc35aed5d639fe9e368d /interface.h
parent605d8df72ada13ae54fd4452f43f09f94ade87d1 (diff)
downloadvdr-19f9f9cfce5dcbd0e5b468da85163f589c1082f2.tar.gz
vdr-19f9f9cfce5dcbd0e5b468da85163f589c1082f2.tar.bz2
Fixed daemon mode (RcIo and Interface no longer static)
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/interface.h b/interface.h
index e3bce38c..8d0f8f68 100644
--- a/interface.h
+++ b/interface.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.h 1.15 2000/10/08 09:51:42 kls Exp $
+ * $Id: interface.h 1.16 2000/10/08 12:15:49 kls Exp $
*/
#ifndef __INTERFACE_H
@@ -12,6 +12,7 @@
#include "config.h"
#include "dvbapi.h"
+#include "remote.h"
#include "svdrp.h"
class cInterface {
@@ -22,14 +23,14 @@ private:
int cols[MaxCols];
eKeys keyFromWait;
cSVDRP *SVDRP;
+ cRcIoBase *rcIo;
unsigned int GetCh(bool Wait = true, bool *Repeat = NULL, bool *Release = NULL);
void QueryKeys(void);
void HelpButton(int Index, const char *Text, eDvbColor FgColor, eDvbColor BgColor);
eKeys Wait(int Seconds = 1, bool KeepChar = false);
public:
- cInterface(void);
- void Init(int SVDRPport = 0);
- void Cleanup(void);
+ cInterface(int SVDRPport = 0);
+ ~cInterface();
void Open(int NumCols = MenuColumns, int NumLines = MenuLines);
void Close(void);
eKeys GetKey(bool Wait = true);
@@ -51,6 +52,6 @@ public:
bool Recording(void);
};
-extern cInterface Interface;
+extern cInterface *Interface;
#endif //__INTERFACE_H