1 #ifndef LS_PRODUCT_DETAILS_H 2 #define LS_PRODUCT_DETAILS_H 6 #pragma warning( push ) 7 #pragma warning( disable : 4251 ) 23 using ptr_t = std::shared_ptr<ProductDetails>;
30 bool isTrialAllowed()
const;
34 bool isVMAllowed()
const;
38 uint32_t trialPeriod()
const;
42 uint32_t floatingLicenseTimeout()
const;
46 const std::string& productName()
const;
50 const std::string& productCode()
const;
58 const std::string& metadata()
const;
62 const std::string& latestVersion()
const;
74 static ProductDetails fromJsonString(
const std::string& jsonString );
77 bool m_isTrialAllowed;
79 uint32_t m_trialPeriod;
80 uint32_t m_floatingTimeout;
81 std::string m_productName;
82 std::string m_productCode;
84 std::string m_metadata;
85 std::string m_latestVersion;
90 #pragma warning( pop ) 93 #endif // LS_PRODUCT_DETAILS_H
LSAuthMethod
Product authorization method.
std::shared_ptr< ProductDetails > ptr_t
#define LS_API
Macros that expands to dllexport, dllimport or nothing on non Windows platforms or in case of static ...
std::shared_ptr< InstallationFile > ptr_t
Class that encapsulates information about a product.