IDEIntf: added event called when the IDE collects the fpc front end parameters

git-svn-id: trunk@44341 -
This commit is contained in:
mattias 2014-03-04 14:15:57 +00:00
parent 4b9f06ac1e
commit a355640db9

View File

@ -371,9 +371,9 @@ type
AsLast: boolean = false);
procedure RemoveHandlerOnQuickSyntaxCheck(
const OnQuickSyntaxCheckEvent: TModalHandledFunction);
procedure AddHandlerOnGetFPCFrontEndParams(
procedure AddHandlerGetFPCFrontEndParams(
const Handler: TGetFPCFrontEndParams; AsLast: boolean = false);
procedure RemoveHandlerOnGetFPCFrontEndParams(
procedure RemoveHandlerGetFPCFrontEndParams(
const Handler: TGetFPCFrontEndParams);
function CallHandlerGetFPCFrontEndParams(Sender: TObject; var Params: string): boolean;
end;
@ -649,13 +649,13 @@ begin
RemoveHandler(lihtQuickSyntaxCheck,TMethod(OnQuickSyntaxCheckEvent));
end;
procedure TLazIDEInterface.AddHandlerOnGetFPCFrontEndParams(
procedure TLazIDEInterface.AddHandlerGetFPCFrontEndParams(
const Handler: TGetFPCFrontEndParams; AsLast: boolean);
begin
AddHandler(lihtGetFPCFrontEndParams,TMethod(Handler),AsLast);
end;
procedure TLazIDEInterface.RemoveHandlerOnGetFPCFrontEndParams(
procedure TLazIDEInterface.RemoveHandlerGetFPCFrontEndParams(
const Handler: TGetFPCFrontEndParams);
begin
RemoveHandler(lihtGetFPCFrontEndParams,TMethod(Handler));