vdr 2.7.2
cInterface Class Reference

#include <interface.h>

Public Member Functions

 cInterface (void)
 
 ~cInterface ()
 
void Interrupt (void)
 
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)
 

Private Member Functions

bool QueryKeys (cRemote *Remote, cSkinDisplayMenu *DisplayMenu)
 

Private Attributes

bool interrupted
 

Detailed Description

Definition at line 17 of file interface.h.

Constructor & Destructor Documentation

◆ cInterface()

cInterface::cInterface ( void )

Definition at line 22 of file interface.c.

References interrupted.

◆ ~cInterface()

cInterface::~cInterface ( )

Definition at line 27 of file interface.c.

Member Function Documentation

◆ Confirm()

◆ GetKey()

eKeys cInterface::GetKey ( bool Wait = true)

Definition at line 31 of file interface.c.

References cSkins::Flush(), cRemote::Get(), cRemote::HasKeys(), cRemote::IsLearning(), kNone, Skins, and Wait().

Referenced by LearnKeys(), main(), and Wait().

◆ Interrupt()

void cInterface::Interrupt ( void )
inline

Definition at line 24 of file interface.h.

References interrupted.

Referenced by SignalHandler().

◆ LearnKeys()

◆ QueryKeys()

◆ Wait()

eKeys cInterface::Wait ( int Seconds = 0,
bool KeepChar = false )

Member Data Documentation

◆ interrupted

bool cInterface::interrupted
private

Definition at line 19 of file interface.h.

Referenced by cInterface(), Interrupt(), and Wait().


The documentation for this class was generated from the following files: