-
Notifications
You must be signed in to change notification settings - Fork 63
/
DN.Setup.Dependency.Intf.pas
33 lines (27 loc) · 1.09 KB
/
DN.Setup.Dependency.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
unit DN.Setup.Dependency.Intf;
interface
uses
DN.Package.Intf,
DN.Package.Version.Intf;
type
TDependencyAction = (daNone, daInstall, daUpdate, daUninstall);
IDNSetupDependency = interface
['{F81A8627-D0AE-45CF-BADC-CB933EA5665D}']
function GetAction: TDependencyAction;
function GetInstalledVersion: IDNPackageVersion;
function GetPackage: IDNPackage;
function GetVersion: IDNPackageVersion;
procedure SetInstalledVersion(const Value: IDNPackageVersion);
procedure SetPackage(const Value: IDNPackage);
procedure SetVersion(const Value: IDNPackageVersion);
procedure SetAction(const Value: TDependencyAction);
function GetID: TGUID;
procedure SetID(const Value: TGUID);
property ID: TGUID read GetID write SetID;
property Package: IDNPackage read GetPackage write SetPackage;
property Action: TDependencyAction read GetAction write SetAction;
property Version: IDNPackageVersion read GetVersion write SetVersion;
property InstalledVersion: IDNPackageVersion read GetInstalledVersion write SetInstalledVersion;
end;
implementation
end.