mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 07:31:09 +02:00
IDEIntf: added event called when the IDE collects the fpc front end parameters
git-svn-id: trunk@44341 -
This commit is contained in:
parent
4b9f06ac1e
commit
a355640db9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user