Documents > BPS V2 C++ API
bpsaccessplugin.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSACCESSPLUGIN_H
00005 #define BPSACCESSPLUGIN_H
00006 
00007 #include <QtPlugin>
00008 
00009 class BpsAccessWidget;
00010 class BpsDatastore;
00011 
00016 class BpsAccessPlugin
00017 {
00018 public:
00022     virtual ~BpsAccessPlugin() {}
00023 
00036     virtual bool init(BpsDatastore* aDatastore) = 0;
00037 
00044     virtual BpsAccessWidget* createWidget(QWidget* aParent = 0) = 0;
00045 };
00046 
00047 Q_DECLARE_INTERFACE(BpsAccessPlugin, "com.ibk-software.BPS2.BpsAccessPlugin/1.0")
00048 
00049 #endif // BPSACCESSPLUGIN_H