forked from Memnarch/Delphinus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDN.EnvironmentOptions.Intf.pas
50 lines (44 loc) · 1.73 KB
/
DN.EnvironmentOptions.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
#########################################################
# Copyright by Alexander Benikowski #
# This unit is part of the Delphinus project hosted on #
# https://github.com/Memnarch/Delphinus #
#########################################################
}
unit DN.EnvironmentOptions.Intf;
interface
uses
DN.Types,
DN.Compiler.Intf;
type
IDNEnvironmentOptions = interface
['{654C8D31-B119-4B42-B4CB-6558D729B7BB}']
function GetPlatform: TDNCompilerPlatform;
function GetBPLOutput: string;
function GetBrowsingPath: string;
function GetDCPOutput: string;
function GetSearchPath: string;
procedure SetBPLOutput(const Value: string);
procedure SetBrowsingPath(const Value: string);
procedure SetDCPOutput(const Value: string);
procedure SetSearchPath(const Value: string);
procedure BeginUpdate();
procedure EndUpdate();
property Platform: TDNCompilerPlatform read GetPlatform;
property BrowingPath: string read GetBrowsingPath write SetBrowsingPath;
property SearchPath: string read GetSearchPath write SetSearchPath;
property BPLOutput: string read GetBPLOutput write SetBPLOutput;
property DCPOutput: string read GetDCPOutput write SetDCPOutput;
end;
IDNEnvironmentOptionsService = interface
['{69DC3646-AC12-4123-A9FA-0ACE6CD2B05A}']
function GetOptions(
const APlatform: TDNCompilerPlatform): IDNEnvironmentOptions;
function GetSupportedPlatforms: TDNCompilerPlatforms;
procedure BeginUpdate();
procedure EndUpdate();
property Options[const APlatform: TDNCompilerPlatform]: IDNEnvironmentOptions read GetOptions;
property SupportedPlatforms: TDNCompilerPlatforms read GetSupportedPlatforms;
end;
implementation
end.