Difference between revisions of "TShellManager"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Shell __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collap...")
 
(No difference)

Latest revision as of 03:57, 29 May 2018

Return to Unit Shell


Description


To be documented

Class definitions



TShellManager = class(TObject)

public
constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FShells:TLinkedList;  
FCommands:TLinkedList;  
protected
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
function GetShell(APrevious:TShell; ALock,AUnlock:Boolean):TShell;  
function FindShell(const AName:String):TShell;  
 
function RegisterShell(AShell:TShell):Boolean;  
function DeregisterShell(AShell:TShell):Boolean;  
 
function GetCommand(APrevious:TShellCommand; ALock,AUnlock:Boolean):TShellCommand;  
function FindCommand(const AName:String):TShellCommand;  
function DefaultCommand:TShellCommand;  
 
function RegisterCommand(ACommand:TShellCommand):Boolean;  
function DeregisterCommand(ACommand:TShellCommand):Boolean;  


Function declarations



constructor TShellManager.Create;
Description: To be documented
Note None documented


destructor TShellManager.Destroy;
Description: To be documented
Note None documented


function TShellManager.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TShellManager.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TShellManager.GetShell(APrevious:TShell; ALock,AUnlock:Boolean):TShell;
Description: To be documented
Note None documented


function TShellManager.FindShell(const AName:String):TShell;
Description: To be documented
Note None documented


function TShellManager.RegisterShell(AShell:TShell):Boolean;
Description: To be documented
Note None documented


function TShellManager.DeregisterShell(AShell:TShell):Boolean;
Description: To be documented
Note None documented


function TShellManager.GetCommand(APrevious:TShellCommand; ALock,AUnlock:Boolean):TShellCommand;
Description: To be documented
Note None documented


function TShellManager.FindCommand(const AName:String):TShellCommand;
Description: To be documented
Note None documented


function TShellManager.DefaultCommand:TShellCommand;
Description: To be documented
Note None documented


function TShellManager.RegisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented
Note None documented


function TShellManager.DeregisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference