|
@@ -360,7 +360,6 @@ Type
|
|
procedure SetupLogger;
|
|
procedure SetupLogger;
|
|
procedure StopLogger;
|
|
procedure StopLogger;
|
|
Procedure DoRun; override;
|
|
Procedure DoRun; override;
|
|
- Property OnRun : TNotifyEvent Read FOnRun Write FOnRun;
|
|
|
|
Property SysData : TObject Read FSysData Write FSysData;
|
|
Property SysData : TObject Read FSysData Write FSysData;
|
|
Public
|
|
Public
|
|
Procedure ShowException(E : Exception); override;
|
|
Procedure ShowException(E : Exception); override;
|
|
@@ -370,6 +369,7 @@ Type
|
|
procedure RunDaemons;
|
|
procedure RunDaemons;
|
|
procedure UnInstallDaemons;
|
|
procedure UnInstallDaemons;
|
|
procedure CreateForm(InstanceClass: TComponentClass; var Reference); virtual;
|
|
procedure CreateForm(InstanceClass: TComponentClass; var Reference); virtual;
|
|
|
|
+ Property OnRun : TNotifyEvent Read FOnRun Write FOnRun;
|
|
Property Logger : TEventLog Read FLogger;
|
|
Property Logger : TEventLog Read FLogger;
|
|
Property GUIMainLoop : TGuiLoopEvent Read FGUIMainLoop Write FGuiMainLoop;
|
|
Property GUIMainLoop : TGuiLoopEvent Read FGUIMainLoop Write FGuiMainLoop;
|
|
Property GuiHandle : THandle Read FGUIHandle Write FGUIHandle;
|
|
Property GuiHandle : THandle Read FGUIHandle Write FGUIHandle;
|
|
@@ -418,6 +418,7 @@ Var
|
|
SStatus : Array[1..5] of string =
|
|
SStatus : Array[1..5] of string =
|
|
('Stop','Pause','Continue','Interrogate','Shutdown');
|
|
('Stop','Pause','Continue','Interrogate','Shutdown');
|
|
DefaultDaemonOptions : TDaemonOptions = [doAllowStop,doAllowPause];
|
|
DefaultDaemonOptions : TDaemonOptions = [doAllowStop,doAllowPause];
|
|
|
|
+ AppClass : TCustomDaemonApplicationClass;
|
|
|
|
|
|
implementation
|
|
implementation
|
|
|
|
|
|
@@ -429,7 +430,6 @@ Var
|
|
MapperClass : TCustomDaemonMapperClass;
|
|
MapperClass : TCustomDaemonMapperClass;
|
|
DesignMapper : TCustomDaemonMapper;
|
|
DesignMapper : TCustomDaemonMapper;
|
|
DaemonClasses : TStringList;
|
|
DaemonClasses : TStringList;
|
|
- AppClass : TCustomDaemonApplicationClass;
|
|
|
|
|
|
|
|
{$ifdef svcdebug}
|
|
{$ifdef svcdebug}
|
|
Var
|
|
Var
|