-
Notifications
You must be signed in to change notification settings - Fork 63
/
DN.Compiler.Intf.pas
53 lines (47 loc) · 2.11 KB
/
DN.Compiler.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
51
52
53
{
#########################################################
# Copyright by Alexander Benikowski #
# This unit is part of the Delphinus project hosted on #
# https://github.com/Memnarch/Delphinus #
#########################################################
}
unit DN.Compiler.Intf;
interface
uses
Classes,
DN.Types;
type
IDNCompiler = interface
['{AA41BA34-BBD7-454D-A3AA-0730590077A4}']
function GetExeOutput: string;
function GetDCPOutput: string;
function GetDCUOutput: string;
procedure SetExeOutput(const Value: string);
procedure SetDCPOutput(const Value: string);
procedure SetDCUOutput(const Value: string);
function GetConfig: TDNCompilerConfig;
function GetTarget: TDNCompilerTarget;
procedure SetConfig(const Value: TDNCompilerConfig);
procedure SetTarget(const Value: TDNCompilerTarget);
procedure SetParameterOverride(const AProperty: string; const AValue: string);
function GetPlatform: TDNCompilerPlatform;
procedure SetPlatform(const Value: TDNCompilerPlatform);
function GetBPLOutput: string;
procedure SetBPLOutput(const Value: string);
function GetLog: TStrings;
function GetVersion: TCompilerVersion;
function GetParameterOverride(const AProperty: string): string;
function Compile(const AProjectFile: string): Boolean;
property DCUOutput: string read GetDCUOutput write SetDCUOutput;
property DCPOutput: string read GetDCPOutput write SetDCPOutput;
property ExeOutput: string read GetExeOutput write SetExeOutput;
property BPLOutput: string read GetBPLOutput write SetBPLOutput;
property Target: TDNCompilerTarget read GetTarget write SetTarget;
property Config: TDNCompilerConfig read GetConfig write SetConfig;
property Platform: TDNCompilerPlatform read GetPlatform write SetPlatform;
property Log: TStrings read GetLog;
property Version: TCompilerVersion read GetVersion;
property ParameterOverride[const AProperty: string]: string read GetParameterOverride write SetParameterOverride;
end;
implementation
end.