13 #ifndef MAGICSMOKE_BCSUSB_SCANNER_H
14 #define MAGICSMOKE_BCSUSB_SCANNER_H
31 bool isActive()
const override{
return mdev!=
nullptr;}
42 hid_device*mdev=
nullptr;
43 QTimer*mrdtmr=
nullptr;
void activate() override
attempts to activate the scanner
Definition: hidscanner.cpp:40
bool isActive() const override
returns whether the scanner is currently active
Definition: hidscanner.h:31
QString readableName() const override
returns a human readable name for the scanner
Definition: hidscanner.cpp:68
void deactivate() override
attempts to de-activate the scanner
Definition: hidscanner.cpp:58
Definition: bcskeyboard.h:131
base class of actual scanner implementations
Definition: barcode-plugin.h:42
virtual ~MHidBarcodeScanner()
Definition: hidscanner.cpp:34
Definition: bcskeyboard.h:22
MHidBarcodeScanner(QString path, QString setGrp, QObject *parent=0)
Definition: hidscanner.cpp:18
bool matchPath(const QString &p)
Definition: hidscanner.h:36
Definition: bcskeyboard.h:145
Definition: hidscanner.h:23