KEYZY C++ Client Library 1.9.0
To develop software that is compiled with a C++ compiler and utilizes the KEYZY service (www.keyzy.io)
Loading...
Searching...
No Matches
LicenseDepositHandler.h
Go to the documentation of this file.
1/*
2 ==============================================================================
3
4 KeyzyLicenseDepositHandler.h
5 Created: 26 May 2023 12:55:33pm
6 Author: Volkan Ozyilmaz
7
8 ==============================================================================
9*/
10
11#ifndef KEYZY_LICENSE_DEPOSIT_HANDLER_H
12#define KEYZY_LICENSE_DEPOSIT_HANDLER_H
13
18
19#include "KeyzyTypes.h"
20#include <memory>
21
22namespace Keyzy {
23
24class KeyzyLicenseProvider;
25
30{
31public:
37 LicenseDepositHandler(std::shared_ptr<KeyzyLicenseProvider> licenseProvider);
39
60 const std::string& skuNumber,
61 const std::string& name = std::string(),
62 const std::string& email = std::string());
63
81 LicenseStatus registerOfflineDistributedLicense(const std::string& serialNumber,
82 const std::string& name = std::string(),
83 const std::string& email = std::string());
84
85private:
86 std::shared_ptr<KeyzyLicenseProvider> _licenseProvider;
87};
88
89}
90
91#endif // KEYZY_LICENSE_DEPOSIT_HANDLER_H
Public types for the Keyzy client SDK: LicenseStatus, LicenseType, ProductData, License.
LicenseStatus
Definition KeyzyTypes.h:110
LicenseDepositHandler(std::shared_ptr< KeyzyLicenseProvider > licenseProvider)
LicenseStatus registerOfflineDistributedLicense(const std::string &serialNumber, const std::string &name=std::string(), const std::string &email=std::string())
LicenseStatus registerTrial(LicenseInfo &licenseInfo, const std::string &skuNumber, const std::string &name=std::string(), const std::string &email=std::string())
License details filled in by the SDK: SKU, product code, licensee name/email, type,...
Definition KeyzyTypes.h:92