1 #ifndef LS_LICENSE_MEMORY_STORAGE_H 2 #define LS_LICENSE_MEMORY_STORAGE_H 6 #pragma warning( push ) 7 #pragma warning( disable : 4251 ) 21 using ptr_t = std::shared_ptr<LicenseMemoryStorage>;
25 static ptr_t create();
32 void saveLicense(
const std::string& licenseData );
36 std::string loadLicense();
42 std::string m_licenseData;
48 #pragma warning( pop ) 51 #endif // LS_LICENSE_MEMORY_STORAGE_H
std::shared_ptr< LicenseMemoryStorage > ptr_t
LicenseStorage interface.
Simple class that saves license in a variable, implements LicenseStorage interface.
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...