8#include <QRecursiveMutex>
29 LIRC(QObject *main_window,
35 virtual void start(
void);
43 void run(
void)
override;
45 void Process(
const QByteArray &data);
Interface between mythtv and lircd.
void Process(const QByteArray &data)
QString m_program
program to extract from config file
QString m_lircdDevice
device on which to receive lircd data
bool IsDoRunSet(void) const
static QMutex s_lirclibLock
QString m_configFile
file containing LIRC->key mappings
QObject * m_mainWindow
window to send key events to
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
QList< QByteArray > GetCodes(void)
LIRC(QObject *main_window, QString lircd_device, QString our_program, QString config_file)
virtual void deleteLater(void)
This is a wrapper around QThread that does several additional things.