UltraScan III
List of all members | Public Types | Public Member Functions | Static Public Member Functions
US_License_t Class Reference

A text only class to provide a check to ensure a valid license. More...

#include "us_license_t.h"

Public Types

enum  {
  OK, Expired, Invalid, Missing,
  BadPlatform, BadOS, Pending
}
 

Public Member Functions

 US_License_t ()
 A null constructor. More...
 
 ~US_License_t ()
 A null destructor. More...
 

Static Public Member Functions

static int isValid (QString &, const QStringList &=QStringList())
 A static function that retrieves the current UltraScan license from US_Settings and checks it for validity. The return value is one of the enum values in this class. More...
 

Detailed Description

A text only class to provide a check to ensure a valid license.

Definition at line 11 of file us_license_t.h.

Member Enumeration Documentation

anonymous enum
Enumerator
OK 
Expired 
Invalid 
Missing 
BadPlatform 
BadOS 
Pending 

Definition at line 19 of file us_license_t.h.

Constructor & Destructor Documentation

US_License_t::US_License_t ( )
inline

A null constructor.

Definition at line 15 of file us_license_t.h.

US_License_t::~US_License_t ( )
inline

A null destructor.

Definition at line 17 of file us_license_t.h.

Member Function Documentation

int US_License_t::isValid ( QString &  ErrorMessage,
const QStringList &  newLicense = QStringList() 
)
static

A static function that retrieves the current UltraScan license from US_Settings and checks it for validity. The return value is one of the enum values in this class.

Definition at line 9 of file us_license_t.cpp.


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