vdr 2.7.6
|
#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 |
Definition at line 17 of file interface.h.
cInterface::cInterface | ( | void | ) |
Definition at line 22 of file interface.c.
References interrupted.
cInterface::~cInterface | ( | ) |
Definition at line 27 of file interface.c.
bool cInterface::Confirm | ( | const char * | s, |
int | Seconds = 10, | ||
bool | WaitForTimeout = false ) |
eKeys cInterface::GetKey | ( | bool | Wait = true | ) |
Definition at line 31 of file interface.c.
References cRemote::Get(), cRemote::HasKeys(), cRemote::IsLearning(), kNone, Skins, and Wait().
Referenced by LearnKeys(), and Wait().
|
inline |
Definition at line 24 of file interface.h.
References interrupted.
void cInterface::LearnKeys | ( | void | ) |
Definition at line 147 of file interface.c.
References cRemote::Clear(), cSkinDisplayMenu::Clear(), dsyslog, esyslog, GetKey(), kDown, Keys, kUp, mcUnknown, QueryKeys(), Remotes, cSkinDisplayMenu::SetItem(), cRemote::SetLearning(), cSkinDisplayMenu::SetMenuCategory(), cSkinDisplayMenu::SetTitle(), Skins, and tr.
|
private |
Definition at line 68 of file interface.c.
References cRemote::Clear(), cSkinDisplayMenu::Clear(), dsyslog, cSkinDisplay::Flush(), cRemote::Get(), cRemote::Initialize(), kDown, cKey::Key(), Keys, kMenu, kNone, kUp, cRemote::Name(), cSkinDisplayMenu::SetItem(), cCondWait::SleepMs(), cString::sprintf(), cKey::ToString(), and tr.
Referenced by LearnKeys().
eKeys cInterface::Wait | ( | int | Seconds = 0, |
bool | KeepChar = false ) |
Definition at line 41 of file interface.c.
References GetKey(), interrupted, ISRAWKEY, k_Plugin, kNone, cRemote::Put(), Setup, and Skins.
Referenced by GetKey().
|
private |
Definition at line 19 of file interface.h.
Referenced by cInterface(), Interrupt(), and Wait().