mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 13:31:20 +02:00
* Added CheckControlMessage in TCustomDaemon
git-svn-id: trunk@26696 -
This commit is contained in:
parent
628689e3e3
commit
6aaab457a7
@ -57,6 +57,7 @@ Type
|
||||
Function UnInstall: boolean; virtual;
|
||||
Function HandleCustomCode(ACode : DWord) : Boolean; Virtual;
|
||||
Public
|
||||
Procedure CheckControlMessages(Wait : Boolean);
|
||||
Procedure LogMessage(const Msg : String);
|
||||
Procedure ReportStatus;
|
||||
|
||||
@ -693,6 +694,13 @@ begin
|
||||
Result:=False
|
||||
end;
|
||||
|
||||
Procedure TCustomDaemon.CheckControlMessages(Wait : Boolean);
|
||||
|
||||
begin
|
||||
If Assigned(FThread) then
|
||||
TDaemonThread(FThread).CheckControlMessage(Wait);
|
||||
end;
|
||||
|
||||
{ TCustomServiceApplication }
|
||||
|
||||
procedure TCustomDaemonApplication.CreateServiceMapper(Var AMapper : TCustomDaemonMapper);
|
||||
|
Loading…
Reference in New Issue
Block a user