BPS C++ API  2.24.4
bpslicensechecker.h
Go to the documentation of this file.
1 
4 #ifndef BPSLICENSECHECKER_H
5 #define BPSLICENSECHECKER_H
6 
7 #include "bpsgui_global.h"
8 #include <QObject>
9 
10 class BpsLicenseToken;
11 class QWidget;
12 
25 {
26  Q_OBJECT
28 
29 public:
30 
35  BpsLicenseChecker(BpsLicenseToken* aLicenseToken, QWidget* aParent);
36 
38  virtual ~BpsLicenseChecker();
40 
44  void start();
45 
49  void stop();
50 };
51 
52 #endif // BPSLICENSECHECKER_H
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
The license checker handles license token checking for typical applications.
Definition: bpslicensechecker.h:25
void stop()
Stop periodic token validity checking.
BpsLicenseChecker(BpsLicenseToken *aLicenseToken, QWidget *aParent)
void start()
Check expiration of the token and start periodic token validity checking.
The license token is used to check permission of software usage, and maintains the list in table t_li...
Definition: bpslicensetoken.h:25