|
@@ -338,7 +338,6 @@ Type
|
|
private
|
|
private
|
|
FEnabled: boolean;
|
|
FEnabled: boolean;
|
|
FOnOutput: TThreadConsoleOutputEvent;
|
|
FOnOutput: TThreadConsoleOutputEvent;
|
|
- class function GetInstance: TThreadConsoleOutput; static;
|
|
|
|
procedure HandleConsoleMessage(aCommand: TCustomWorkerCommand); virtual;
|
|
procedure HandleConsoleMessage(aCommand: TCustomWorkerCommand); virtual;
|
|
Public
|
|
Public
|
|
class constructor done;
|
|
class constructor done;
|
|
@@ -678,12 +677,6 @@ end;
|
|
|
|
|
|
{ TThreadConsoleOutput }
|
|
{ TThreadConsoleOutput }
|
|
|
|
|
|
-class function TThreadConsoleOutput.GetInstance: TThreadConsoleOutput; static;
|
|
|
|
-begin
|
|
|
|
- if _instance=Nil then
|
|
|
|
- _Instance:=TThreadConsoleOutput.Create;
|
|
|
|
- Result:=_instance;
|
|
|
|
-end;
|
|
|
|
|
|
|
|
procedure TThreadConsoleOutput.HandleConsoleMessage(aCommand : TCustomWorkerCommand);
|
|
procedure TThreadConsoleOutput.HandleConsoleMessage(aCommand : TCustomWorkerCommand);
|
|
var
|
|
var
|