27 #ifndef RAWHIDPLUGIN_H
28 #define RAWHIDPLUGIN_H
40 #include <QtCore/QMutex>
41 #include <QtCore/QThread>
60 virtual void closeDevice(
const QString &deviceName);
70 void onDeviceConnected();
71 void onDeviceDisconnected();
83 Q_PLUGIN_METADATA(IID
"org.dronin.plugins.RawHID")
89 virtual bool initialize(
const QStringList &arguments, QString *error_message);
97 #endif // RAWHIDPLUGIN_H
virtual QIODevice * openDevice(IDevice *device)=0
virtual void extensionsInitialized()=0
virtual void suspendPolling()
virtual void closeDevice(const QString &deviceName)
virtual QList< IDevice * > availableDevices()=0
virtual void resumePolling()
virtual QString connectionName()=0
virtual bool initialize(const QStringList &arguments, QString *errorString)=0
virtual QString shortName()
Base class for all plugins.