| KEYZY C++ Client Library 1.7.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
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
14#include "KeyzyTypes.h"
15#include <memory>
16
17 namespace Keyzy {
18
19 class KeyzyLicenseProvider;
20
24 class LicenseDepositHandler
25{
26 public:
32 LicenseDepositHandler(std::shared_ptr<KeyzyLicenseProvider> licenseProvider);
33 ~LicenseDepositHandler();
34
53 LicenseStatus registerTrial(LicenseInfo& licenseInfo,
54 const std::string& skuNumber,
55 const std::string& name = std::string(),
56 const std::string& email = std::string());
57
74 LicenseStatus registerOfflineDistributedLicense(const std::string& serialNumber,
75 const std::string& name = std::string(),
76 const std::string& email = std::string());
77
78 private:
79 std::shared_ptr<KeyzyLicenseProvider> _licenseProvider;
80};
81
82}
83
84#endif // KEYZY_LICENSE_DEPOSIT_HANDLER_H
Keyzy::LicenseDepositHandler::LicenseDepositHandler
LicenseDepositHandler(std::shared_ptr< KeyzyLicenseProvider > licenseProvider)
Keyzy::LicenseDepositHandler::registerOfflineDistributedLicense
LicenseStatus registerOfflineDistributedLicense(const std::string &serialNumber, const std::string &name=std::string(), const std::string &email=std::string())
Keyzy::LicenseDepositHandler::registerTrial
LicenseStatus registerTrial(LicenseInfo &licenseInfo, const std::string &skuNumber, const std::string &name=std::string(), const std::string &email=std::string())
Keyzy::LicenseInfo
Definition KeyzyTypes.h:85