* @brief Constructor for the LemonSqueezy licensing handler. */
| 68 | * @brief Constructor for the LemonSqueezy licensing handler. |
| 69 | */ |
| 70 | Licensing::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. |
nothing calls this directly
no test coverage detected