Unit Shell

From Ultibo.org
Revision as of 02:32, 5 January 2017 by Ultibo (Talk | contribs)

Jump to: navigation, search

Return to Unit Reference


Description


Ultibo Generic Shell unit

To be documented

Constants



[Expand]
Shell specific constants SHELL_*


[Expand]
Shell flag constants SHELL_FLAG_*


[Expand]
Shell session flag constants SHELL_SESSION_FLAG_*


[Expand]
Shell command flag constants SHELL_COMMAND_FLAG_*


[Expand]
Shell alias flag constants SHELL_ALIAS_FLAG_*


[Expand]
Shell command constants SHELL_COMMAND_*


[Expand]
Shell alias constants SHELL_ALIAS_*


[Expand]
Shell logging constants SHELL_LOG_*


Type definitions


To be documented

Public variables



Shell logging

SHELL_DEFAULT_LOG_LEVEL:LongWord = SHELL_LOG_LEVEL_DEBUG; Minimum level for Shell messages. Only messages with level greater than or equal to this will be printed.
SHELL_LOG_ENABLED:Boolean;


Function declarations



Initialization functions

[Expand]
procedure ShellInit;
Description: To be documented


Shell functions

[Expand]
function ShellGetShell(APrevious:TShell; ALock,AUnlock:Boolean):TShell;
Description: To be documented


[Expand]
function ShellFindShell(const AName:String):TShell;
Description: To be documented


[Expand]
function ShellRegisterShell(AShell:TShell):Boolean;
Description: To be documented


[Expand]
function ShellDeregisterShell(AShell:TShell):Boolean;
Description: To be documented


[Expand]
function ShellGetCommand(APrevious:TShellCommand; ALock,AUnlock:Boolean):TShellCommand;
Description: To be documented


[Expand]
function ShellFindCommand(const AName:String):TShellCommand;
Description: To be documented


[Expand]
function ShellRegisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented


[Expand]
function ShellDeregisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented


Shell helper functions

[Expand]
procedure ShellLog(Level:LongWord; const AText:String);
Description: To be documented


[Expand]
procedure ShellLogInfo(const AText:String);
Description: To be documented


[Expand]
procedure ShellLogError(const AText:String);
Description: To be documented


[Expand]
procedure ShellLogDebug(const AText:String);
Description: To be documented


Return to Unit Reference