1#ifndef LS_LICENSE_STORAGE_H
2#define LS_LICENSE_STORAGE_H
7#pragma warning( disable : 4251 )
19 using ptr_t = std::shared_ptr<LicenseStorage>;
24 virtual void saveLicense(
const std::string& licenseData ) = 0;
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
LicenseStorage interface.
virtual std::string loadLicense()=0
Load license data.
virtual ~LicenseStorage()
Destructor for LicenseStorage object.
virtual void clear()=0
Removes local license data.
virtual void saveLicense(const std::string &licenseData)=0
Save license data somewhere.
std::shared_ptr< LicenseStorage > ptr_t