 |
AntiMicroX
|
Go to the documentation of this file.
19 #ifndef EVENTHANDLERFACTORY_H
20 #define EVENTHANDLERFACTORY_H
23 #include <QStringList>
42 #define ADD_SENDINPUT 1
49 #define NUM_BACKENDS (ADD_SENDINPUT + ADD_VMULTI)
63 #define NUM_BACKENDS (ADD_XTEST + ADD_UINPUT)
66 #if (NUM_BACKENDS > 1)
67 #define BACKEND_ELSE_IF else if
69 #define BACKEND_ELSE_IF if
93 #endif // EVENTHANDLERFACTORY_H
static QHash< QString, QString > buildDisplayNames()
Definition: eventhandlerfactory.cpp:27
Definition: xtesteventhandler.h:26
EventHandlerFactory(QString handler, QObject *parent=nullptr)
Definition: eventhandlerfactory.cpp:46
#define PRINT_STDOUT()
Macro used for printing messages to stdout.
Definition: logger.h:38
static QString fallBackIdentifier()
Definition: eventhandlerfactory.cpp:97
static QStringList buildEventGeneratorList()
Definition: eventhandlerfactory.cpp:137
Base class for input event handlers.
Definition: baseeventhandler.h:32
static EventHandlerFactory * instance
Definition: eventhandlerfactory.h:90
Definition: eventhandlerfactory.h:74
BaseEventHandler * eventHandler
Definition: eventhandlerfactory.h:89
void deleteInstance()
Definition: eventhandlerfactory.cpp:86
BaseEventHandler * handler()
Definition: eventhandlerfactory.cpp:95
QHash< QString, QString > handlerDisplayNames
Definition: eventhandlerfactory.cpp:42
static EventHandlerFactory * getInstance(QString handler="")
Definition: eventhandlerfactory.cpp:71
static QString handlerDisplayName(QString handler)
Definition: eventhandlerfactory.cpp:150