4 #ifndef BPSRFIDPLUGIN_H
5 #define BPSRFIDPLUGIN_H
14 class BpsRfidEditWidget;
82 #define BpsRfidPlugin_IID "com.ibk-software.BPS2.BpsRfidPlugin/1.0"
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
BPS datastore class.
Definition: bpsdatastore.h:61
RFID interface.
Definition: bpsrfid.h:19
Virtual class for RFID plugin of BPS Workplace.
Definition: bpsrfidplugin.h:22
virtual BpsRfid * createRfid(BpsDatastore *aDatastore, QObject *aParent=nullptr) const =0
Create a RFID object and return a pointer to it.
static QList< BpsRfidPlugin * > plugins(BpsDatastore *aDatastore)
Get list of all RFID plugins available for usage.
virtual BpsConfigWidget * createConfigWidget(BpsDatastore *aDatastore, QWidget *aParent=nullptr) const =0
Create the config widget and return a pointer to it.
virtual QString rfidId() const =0
#define BpsRfidPlugin_IID
IID of the plugin.
Definition: bpsrfidplugin.h:82
virtual ~BpsRfidPlugin()
Virtual destructor.
Definition: bpsrfidplugin.h:27
virtual bool check(BpsDatastore *aDatastore) const =0
Check if plugin is available for usage, e.g.
static BpsRfidPlugin * plugin(BpsDatastore *aDatastore, const QString &aId)
Find the available RFID plugin with the given ID.
virtual QString rfidName() const =0
Query and edit settings.
Definition: bpssettings.h:17