1 #ifndef LS_LICENSE_MEMORY_STORAGE_H 2 #define LS_LICENSE_MEMORY_STORAGE_H 7 #pragma warning(disable : 4251) 22 using ptr_t = std::shared_ptr<LicenseMemoryStorage>;
28 static ptr_t create();
35 void saveLicense(
const std::string &licenseData);
39 std::string loadLicense();
45 std::string m_licenseData;
54 #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.