Documents > BPS V2 C++ API
BpsLicenseChecker Class Reference

The license checker handles license token checking for typical applications. More...

#include <bpslicensechecker.h>

List of all members.

Public Member Functions

 BpsLicenseChecker (BpsLicenseToken *aLicenseToken, QWidget *aParent)
void start ()
 Check expiration of the token and start periodic token validity checking.
void stop ()
 Stop periodic token validity checking.

Detailed Description

The license checker handles license token checking for typical applications.

Upon start it checks once if the license will expire within the next 30 days and in case displays a message which can be confirmed by the user to continue work.

Every 60 seconds it then checks if the license token gets invalid and in case displays a critical message. After the token invalidation message is confirmed, the application is closed.


Constructor & Destructor Documentation

BpsLicenseChecker::BpsLicenseChecker ( BpsLicenseToken aLicenseToken,
QWidget *  aParent 
)
Parameters:
[in]aLicenseTokenThe license token to check.
[in]aParentThe parent widget to display messages on, and to close in case the token gets invalid.

The documentation for this class was generated from the following file: