BPS C++ API  2.24.4
bpsmdeplugin.h
Go to the documentation of this file.
1 
4 #ifndef BPSMDEPLUGIN_H
5 #define BPSMDEPLUGIN_H
6 
7 #include "bpscore_global.h"
8 #include <QtPlugin>
9 
10 class BpsMdeApplication;
11 class QCoreApplication;
12 
17 {
18 public:
23  virtual ~BpsMdePlugin();
24 
31  virtual BpsMdeApplication* createApplication(QCoreApplication* aCoreApplication) = 0;
32 };
33 
37 #define BpsMdePlugin_IID "com.ibk-software.BPS2.BpsMdePlugin/1.0"
38 
39 Q_DECLARE_INTERFACE(BpsMdePlugin, BpsMdePlugin_IID)
40 
41 #endif // BPSMDEPLUGIN_H
Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
Virtual class for MDE applications.
Definition: bpsmdeapplication.h:21
Virtual class for MDE plugins.
Definition: bpsmdeplugin.h:17
#define BpsMdePlugin_IID
IID of the plugin.
Definition: bpsmdeplugin.h:37
virtual ~BpsMdePlugin()
Default destructor to satisfy compiler in case the plugin implementation does not declare a destructo...
virtual BpsMdeApplication * createApplication(QCoreApplication *aCoreApplication)=0
Create the application object and return a pointer to it.