vdr/interface.h
Klaus Schmidinger 771986b89f Version 1.7.0
- Re-implemented handling of DVB-S2, which first appeared in version 1.5.14, but was
  revoked in version 1.5.15 in favor of making a stable version 1.6.0. VDR now
  requires the "multiproto" DVB driver, e.g. from http://jusst.de/hg/multiproto.
  Note that the channels.conf file now supports additional parameters, so you may
  want to make sure you have a backup of this file in case you need to go back to
  the previous version of VDR!
- Fixed displaying transponder data when it is modified (thanks to Reinhard Nissl).
- Fixed handling the counter in detection of pre 1.3.19 PS data (thanks to Reinhard
  Nissl).
- Improved logging system time changes to avoid problems on slow systems under
  heavy load (suggested by Helmut Auer).
- Now setting the thread name, so that it can be seen in 'top -H' (thanks to Rolf
  Ahrenberg).
- Fixed initializing the timer's flags in the cTimer copy constructor (thanks to
  Andreas Mair).
- Fixed setting the OSD level in the 'osddemo' example (thanks to Wolfgang Rohdewald).
- Increased the time between checking the CAM status to 500ms to avoid problems
  with some CAMs (reported by Arthur Konovalov).
2008-04-13 18:00:00 +02:00

37 lines
894 B
C++

/*
* interface.h: Abstract user interface layer
*
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: interface.h 2.0 2004/05/01 11:11:13 kls Exp $
*/
#ifndef __INTERFACE_H
#define __INTERFACE_H
#include "config.h"
#include "remote.h"
#include "skins.h"
#include "svdrp.h"
class cInterface {
private:
bool interrupted;
cSVDRP *SVDRP;
bool QueryKeys(cRemote *Remote, cSkinDisplayMenu *DisplayMenu);
public:
cInterface(int SVDRPport = 0);
~cInterface();
bool HasSVDRPConnection(void) { return SVDRP && SVDRP->HasConnection(); }
void Interrupt(void) { interrupted = true; }
eKeys GetKey(bool Wait = true);
eKeys Wait(int Seconds = 0, bool KeepChar = false);
bool Confirm(const char *s, int Seconds = 10, bool WaitForTimeout = false);
void LearnKeys(void);
};
extern cInterface *Interface;
#endif //__INTERFACE_H