-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathamLicenseServiceAPI.pas
More file actions
32 lines (25 loc) · 1.04 KB
/
amLicenseServiceAPI.pas
File metadata and controls
32 lines (25 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
unit amLicenseServiceAPI deprecated 'Feature not available';
(*
* Copyright © 2016 Anders Melander
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*)
interface
type
ILicenseService = interface
function GenerateProductID(Seed: UInt32; const AuthorID: string): string; overload;
function GenerateProductID(Seed: UInt32; Reserved: UInt32; const AuthorID: string): string; overload;
function GenerateProductID(Seed: UInt32; Reserved: UInt32; RandomValue: byte; const AuthorID: string): string; overload;
function ValidateProductID(const ProductID, AuthorID: string): boolean;
function SanitizeProductID(const ProductID: string): string;
function FormatProductID(const ProductID: string): string;
end;
function LicenseService: ILicenseService; deprecated 'Feature not available';
implementation
function LicenseService: ILicenseService;
begin
Result := nil;
end;
end.