MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / LemonSqueezy

Method LemonSqueezy

app/src/Licensing/LemonSqueezy.cpp:70–83  ·  view source on GitHub ↗

* @brief Constructor for the LemonSqueezy licensing handler. */

Source from the content-addressed store, hash-verified

68 * @brief Constructor for the LemonSqueezy licensing handler.
69 */
70Licensing::LemonSqueezy::LemonSqueezy()
71 : m_busy(false)
72 , m_seatLimit(-1)
73 , m_seatUsage(-1)
74 , m_activated(false)
75 , m_appName(APP_NAME)
76 , m_silentValidation(true)
77 , m_gracePeriod(0)
78{
79 m_simpleCrypt.setKey(MachineID::instance().machineSpecificKey());
80 m_simpleCrypt.setIntegrityProtectionMode(Licensing::SimpleCrypt::ProtectionHash);
81
82 readSettings();
83}
84
85/**
86 * @brief Provides access to the LemonSqueezy singleton instance.

Callers

nothing calls this directly

Calls 3

machineSpecificKeyMethod · 0.80
setKeyMethod · 0.45

Tested by

no test coverage detected