Skip to content

Commit

Permalink
restored method
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeice committed Jun 11, 2019
1 parent c1f14a0 commit 52a6cd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/Boss.Modules.PackageProcessor.pas
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ class function TBossPackageProcessor.GetInstance: TBossPackageProcessor;
Result := _Instance;
end;

procedure PackageInfoProc(const Name: string; NameType: TNameType; Flags: Byte; Param: Pointer);
begin

end;

procedure TBossPackageProcessor.LoadBpls(AProjectPath: string);
var
LBpls: TArray<string>;
Expand All @@ -92,7 +97,7 @@ procedure TBossPackageProcessor.LoadBpls(AProjectPath: string);
begin
try
LHnd := LoadPackage(LBpl);
GetPackageInfo(LHnd, nil, LFlag, nil);
GetPackageInfo(LHnd, nil, LFlag, PackageInfoProc);
UnloadPackage(LHnd);
except
TProviderMessage.GetInstance.WriteLn('Failed to get info of ' + LBpl);
Expand Down

0 comments on commit 52a6cd6

Please sign in to comment.