-
Notifications
You must be signed in to change notification settings - Fork 63
/
DN.Settings.Intf.pas
32 lines (27 loc) · 1.1 KB
/
DN.Settings.Intf.pas
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 DN.Settings.Intf;
interface
type
IDNSettings = interface
['{AEF92172-BD4F-44BA-B3F2-479533B00285}']
function GetInstallationDirectory: string;
function GetOAuthToken: string;
function GetVersion: string;
function GetInstallDate: TDateTime;
procedure SetOAuthToken(const Value: string);
property InstallationDirectory: string read GetInstallationDirectory;
property OAuthToken: string read GetOAuthToken write SetOAuthToken;
property Version: string read GetVersion;
property InstallDate: TDateTime read GetInstallDate;
end;
IDNElevatedSettings = interface(IDNSettings)
['{0FAF4B57-0258-4964-8BA2-310858A48BB3}']
procedure SetInstallationDirectory(const Value: string);
procedure SetVersion(const AVersion: string);
procedure SetInstallDate(const Value: TDateTime);
procedure Clear();
property InstallationDirectory: string read GetInstallationDirectory write SetInstallationDirectory;
property Version: string read GetVersion write SetVersion;
property InstallDate: TDateTime read GetInstallDate write SetInstallDate;
end;
implementation
end.