4 #ifndef BPSMDEAPPLICATION_H
5 #define BPSMDEAPPLICATION_H
10 #include <QStringList>
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
BPS datastore class.
Definition: bpsdatastore.h:61
The license token is used to check permission of software usage, and maintains the list in table t_li...
Definition: bpslicensetoken.h:25
Virtual class for MDE applications.
Definition: bpsmdeapplication.h:21
void logInformation(const QString &aText)
Emitted when a information should get logged.
virtual QString text() const
void logError(const QString &aText)
Emitted when a error should get logged.
BpsMdeApplication(QObject *aParent=nullptr)
Default constructor.
virtual QStringList paths() const =0
virtual bool isPermittedFor(BpsMdeSession *aSession)
Check permission flags for a logged in session.
void logWarning(const QString &aText)
Emitted when a warning should get logged.
virtual BpsLicenseToken * createLicenseToken(BpsDatastore *aDatastore, QObject *aParent=nullptr)
Create a license token for a new session upon login.
virtual ~BpsMdeApplication()
Destructor: Your application should have a virtual destructor.
void logSuccess(const QString &aText)
Emitted when a success should get logged.
virtual QString icon() const
virtual bool handleRequest(BpsMdeRequest *aRequest, BpsMdeSession *aSession)=0
Handle the request for a page.
virtual int menuIndex() const
Using a menuIndex the position of the application within the menu can be fixed.
BPS MDE request.
Definition: bpsmderequest.h:21
BPS MDE session object.
Definition: bpsmdesession.h:24