LircClient Class Reference

#include <lirc.h>

List of all members.


Detailed Description

Interface between mythtv and lircd.

Create connection to the lircd daemon and translate remote keypresses into custom events which are posted to the mainwindow.

Definition at line 11 of file lirc.h.


Public Member Functions

 LircClient (QObject *main_window)
 ~LircClient ()
int Init (const QString &config_file, const QString &program, bool ignoreExtApp=false)
void Process (void)

Private Member Functions

void SpawnApp (void)

Private Attributes

struct lirc_config * lircConfig
QObject * mainWindow
pthread_t pth
QString external_app

Constructor & Destructor Documentation

LircClient::LircClient ( QObject *  main_window  ) 

Definition at line 28 of file lirc.cpp.

LircClient::~LircClient (  ) 

Definition at line 68 of file lirc.cpp.


Member Function Documentation

int LircClient::Init ( const QString &  config_file,
const QString &  program,
bool  ignoreExtApp = false 
)

Definition at line 33 of file lirc.cpp.

Referenced by SpawnLirc().

void LircClient::Process ( void   ) 

Definition at line 74 of file lirc.cpp.

Referenced by SpawnLirc().

void LircClient::SpawnApp ( void   )  [private]

Definition at line 119 of file lirc.cpp.

Referenced by Process().


Member Data Documentation

struct lirc_config* LircClient::lircConfig [read, private]

Definition at line 24 of file lirc.h.

Referenced by Init(), Process(), and ~LircClient().

QObject* LircClient::mainWindow [private]

Definition at line 25 of file lirc.h.

Referenced by LircClient(), and Process().

Definition at line 26 of file lirc.h.

QString LircClient::external_app [private]

Definition at line 27 of file lirc.h.

Referenced by Init(), and SpawnApp().


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

Generated on Sat Dec 18 05:16:04 2010 for MythTV by  doxygen 1.5.5