30 lines
659 B
C++
30 lines
659 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __LICENSING__
|
|
#define __LICENSING__
|
|
|
|
|
|
namespace GS {
|
|
|
|
/*!
|
|
@short License system interface.
|
|
@author Emmanuel Julien (ejulien@owloh.com)
|
|
*/
|
|
struct ILicensing
|
|
{
|
|
// Event handler for the license system.
|
|
virtual void onLicensingEvent(const char *) = 0;
|
|
/// Request an update of the application license.
|
|
virtual bool updateLicence(const char *) = 0;
|
|
|
|
virtual ~ILicensing() {}
|
|
};
|
|
|
|
} // GS
|
|
|
|
|
|
#endif // __LICENSING__
|