cInterface Class Reference

#include <interface.h>

Collaboration diagram for cInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cInterface (int SVDRPport=0)
 ~cInterface ()
bool HasSVDRPConnection (void)
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
cSVDRPSVDRP


Detailed Description

Definition at line 18 of file interface.h.


Constructor & Destructor Documentation

cInterface::cInterface ( int  SVDRPport = 0  ) 

Definition at line 19 of file interface.c.

References interrupted, and SVDRP.

cInterface::~cInterface (  ) 

Definition at line 27 of file interface.c.

References SVDRP.


Member Function Documentation

bool cInterface::QueryKeys ( cRemote Remote,
cSkinDisplayMenu DisplayMenu 
) [private]

Definition at line 73 of file interface.c.

References cListBase::Add(), cSkinDisplayMenu::Clear(), cRemote::Clear(), cListBase::Del(), dsyslog, cSkinDisplay::Flush(), cRemote::Get(), cRemote::Initialize(), kDown, cKey::Key(), Keys, kMenu, kNone, kUp, cList< T >::Last(), cRemote::Name(), cSkinDisplayMenu::SetItem(), cKey::ToString(), and tr.

Referenced by LearnKeys().

Here is the call graph for this function:

bool cInterface::HasSVDRPConnection ( void   )  [inline]

Definition at line 26 of file interface.h.

References cSVDRP::HasConnection(), and SVDRP.

Referenced by main().

Here is the call graph for this function:

void cInterface::Interrupt ( void   )  [inline]

Definition at line 27 of file interface.h.

References interrupted.

Referenced by SignalHandler().

eKeys cInterface::GetKey ( bool  Wait = true  ) 

Definition at line 32 of file interface.c.

References cSkins::Flush(), cRemote::Get(), cRemote::HasKeys(), cRemote::IsLearning(), kNone, cSVDRP::Process(), Skins, and SVDRP.

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

Here is the call graph for this function:

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

Definition at line 46 of file interface.c.

References cSkins::Flush(), GetKey(), interrupted, ISRAWKEY, k_Plugin, kNone, cSetup::OSDMessageTime, cRemote::Put(), Setup, and Skins.

Referenced by cSkins::Message().

Here is the call graph for this function:

bool cInterface::Confirm ( const char *  s,
int  Seconds = 10,
bool  WaitForTimeout = false 
)

Definition at line 64 of file interface.c.

References isyslog, kNone, kOk, cSkins::Message(), mtWarning, and Skins.

Referenced by cPluginManager::Active(), cMenuRecordings::Delete(), cMenuTimers::Delete(), cMenuChannels::Delete(), cMenuCommands::Execute(), main(), cPluginSvcCli::MainMenuAction(), cPluginHello::MainMenuAction(), cMenuMain::ProcessKey(), cMenuSetup::Restart(), cPluginSvcSvr::Service(), and cPluginSvcCli::Service().

Here is the call graph for this function:

void cInterface::LearnKeys ( void   ) 

Definition at line 157 of file interface.c.

References cSkinDisplayMenu::Clear(), cRemote::Clear(), cSkins::Current(), cSkin::DisplayMenu(), dsyslog, esyslog, cList< T >::First(), GetKey(), kDown, Keys, cKeys::KnowsRemote(), kUp, cConfig< T >::Load(), cList< T >::Next(), QueryKeys(), Remotes, cConfig< T >::Save(), cSkinDisplayMenu::SetItem(), cRemote::SetLearning(), cSkinDisplayMenu::SetTitle(), Skins, and tr.

Referenced by main().

Here is the call graph for this function:


Member Data Documentation

bool cInterface::interrupted [private]

Definition at line 20 of file interface.h.

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

cSVDRP* cInterface::SVDRP [private]

Definition at line 21 of file interface.h.

Referenced by cInterface(), GetKey(), HasSVDRPConnection(), and ~cInterface().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:13:00 2007 for VDR by  doxygen 1.5.3-20071008