FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
LicenseInfoInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINELICENSEINFOINTERFACE_H
20#define FLOWENGINELICENSEINFOINTERFACE_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26namespace FlowEngine
27{
30 {
31 public:
32
34 FLE_DLL virtual ~LicenseInfoInterface() = default;
35
36 public:
37
41 FLE_DLL virtual Size getProductKeyLength() const = 0;
42
56 FLE_DLL virtual Result getProductKey( StringBuffer outKey ) const = 0;
57
60 FLE_DLL virtual void getExpirationDate( DateTime &outDate ) const = 0;
61
64 FLE_DLL virtual void getUpdatesExpirationDate( DateTime &outDate ) const = 0;
65
67 FLE_DLL virtual Index getSeatCount() const = 0;
68
69 public:
70
72 FLE_DLL virtual Index getLeaseCount() const = 0;
73
76 FLE_DLL virtual Size getLeaseDataSize( Index lease ) const = 0;
77
81 FLE_DLL virtual Result getLeaseData( Index lease, StringBuffer outData ) const = 0;
82
86 FLE_DLL virtual Result getLeaseExpirationDate( Index lease, DateTime &outDate ) const = 0;
87 };
88
92
96}
97
98#endif
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Holds information about the currently active license and its leases.
Definition: LicenseInfoInterface.h:30
virtual FLE_DLL Size getProductKeyLength() const =0
virtual FLE_DLL Size getLeaseDataSize(Index lease) const =0
virtual FLE_DLL Result getLeaseData(Index lease, StringBuffer outData) const =0
virtual FLE_DLL Index getSeatCount() const =0
Returns the number of seats for this license.
virtual FLE_DLL Index getLeaseCount() const =0
Returns the number of active leases at the moment.
virtual FLE_DLL void getUpdatesExpirationDate(DateTime &outDate) const =0
virtual FLE_DLL Result getLeaseExpirationDate(Index lease, DateTime &outDate) const =0
virtual FLE_DLL void getExpirationDate(DateTime &outDate) const =0
virtual FLE_DLL Result getProductKey(StringBuffer outKey) const =0
virtual FLE_DLL ~LicenseInfoInterface()=default
Default virtual destructor.
Definition: BoundingBoxInterface.cpp:26
std::ptrdiff_t Index
Index type.
Definition: CommonDef.h:100
void DestroyLicenseInfo(LicenseInfoInterface *buf)
Definition: LicenseInfoInterface.cpp:32
LicenseInfoInterface * CreateLicenseInfo()
Definition: LicenseInfoInterface.cpp:27
std::size_t Size
Size type.
Definition: CommonDef.h:103
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a Buffer of characters.
Definition: CommonDef.h:255
Represents a moment in time.
Definition: CommonDef.h:513