13 #ifndef MAGICSMOKE_BARCODE_PLUGIN_H
14 #define MAGICSMOKE_BARCODE_PLUGIN_H
19 #include <QStringList>
36 void addTab(QWidget*,QString);
49 virtual QString readableName()
const=0;
52 virtual bool isActive()
const=0;
56 virtual void activate()=0;
58 virtual void deactivate()=0;
65 void newBarcode(QString);
94 QList<MBarcodeScanner*>allScanners();
98 void newBarcode(QString);
102 void removePlugin(QObject*);
108 #define MBarcodePlugin_IID "de.silmor.MagicSmoke.BarcodePlugin/1.0"
#define MAGICSMOKE_COMMON_EXPORT
Definition: commonexport.h:7
base class of actual scanner implementations
Definition: barcode-plugin.h:42
central barcode scanner hub, this is used by widgets that require barcodes, plugins report (indirectl...
Definition: barcode-plugin.h:83
base class of barcode scanner plugins
Definition: barcode-plugin.h:69
#define MBarcodePlugin_IID
Definition: barcode-plugin.h:108
Scanner Configuration Dialog.
Definition: barcode-plugin.h:26
Q_DECLARE_INTERFACE(MBarcodePlugin, MBarcodePlugin_IID)