Go to the documentation of this file.
8 #if QT_VERSION >= QT_VERSION_CHECK(5,14,0)
9 #include <QRecursiveMutex>
13 #include <sys/types.h>
31 LIRC(QObject *main_window,
37 virtual void start(
void);
45 void run(
void)
override;
47 void Process(
const QByteArray &data);
49 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
50 mutable QMutex
m_lock {QMutex::Recursive};
QObject * m_mainWindow
window to send key events to
QString m_lircdDevice
device on which to receive lircd data
QString m_configFile
file containing LIRC->key mappings
void Process(const QByteArray &data)
QList< QByteArray > GetCodes(void)
LIRC(QObject *main_window, QString lircd_device, QString our_program, QString config_file)
static QMutex s_lirclibLock
virtual void deleteLater(void)
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
bool IsDoRunSet(void) const
This is a wrapper around QThread that does several additional things.
Interface between mythtv and lircd.
QString m_program
program to extract from config file