Difference between revisions of "Unit ConsoleShell"
From Ultibo.org
								
												
				| (5 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
'''Ultibo Console Shell unit'''  | '''Ultibo Console Shell unit'''  | ||
| − | |||
| − | |||
=== Constants ===  | === Constants ===  | ||
| Line 61: | Line 59: | ||
| − | '''Console shell'''  | + | '''Console shell specific classes'''  | 
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | |  | + | | [[TConsoleShell|<code>TConsoleShell = class(TShell)</code>]]  | 
| − | + | ||
| − | | <code>  | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | |  | + | | [[TConsoleSession|<code>TConsoleSession = class(TShellSession)</code>]]  | 
| − | + | ||
| − | | <code>  | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | |  | + | | [[TConsoleShellThread|<code>TConsoleShellThread = class(TThread)</code>]]  | 
| − | + | ||
| − | | <code>  | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
| − | |  | + | | [[TConsoleShellExit|<code>TConsoleShellExit = class(TShellCommand)</code>]]  | 
| − | + | ||
| − | | <code>  | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|-  | |-  | ||
|}  | |}  | ||
| − | |||
<br />  | <br />  | ||
| Line 257: | Line 100: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 272: | Line 115: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 287: | Line 130: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 299: | Line 142: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 311: | Line 154: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
| Line 323: | Line 166: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
Latest revision as of 04:19, 19 June 2021
Return to Unit Reference
Contents
Description
Ultibo Console Shell unit
Constants
Console shell specific constants 
 CONSOLE_SHELL_*  CONSOLE_SHELL_DEFAULT_WELCOME = ' (Type HELP for a list of available commands)';
 | 
|
 CONSOLE_SHELL_THREAD_NAME = 'Console Shell Keyboard';
 | 
Thread name for Console shell keyboard threads | 
Console shell constants 
 CONSOLE_SHELL_NAME*  CONSOLE_SHELL_NAME = 'Console Shell';
 | 
Console shell command constants 
 CONSOLE_SHELL_COMMAND_*  CONSOLE_SHELL_COMMAND_EXIT = 'EXIT';
 | 
Type definitions
None defined
Class definitions
Console shell specific classes
 TConsoleShell = class(TShell)
 | 
 TConsoleSession = class(TShellSession)
 | 
 TConsoleShellThread = class(TThread)
 | 
 TConsoleShellExit = class(TShellCommand)
 | 
Public variables
None defined
Function declarations
Initialization functions
procedure ConsoleShellInit;
Description: To be documented
| Note | None documented | 
|---|
Console shell functions
function ConsoleShellFindByDevice(Console:PConsoleDevice):TConsoleShell;
Description: To be documented
| Note | None documented | 
|---|
Console shell helper functions
function ConsoleShellDeviceAdd(Console:PConsoleDevice; Force:Boolean):LongWord;
Description: To be documented
| Note | None documented | 
|---|
function ConsoleShellDeviceRemove(Console:PConsoleDevice):LongWord;
Description: To be documented
| Note | None documented | 
|---|
function ConsoleShellDeviceEnum(Console:PConsoleDevice; Data:Pointer):LongWord;
Description: To be documented
| Note | None documented | 
|---|
function ConsoleShellDeviceNotify(Device:PDevice; Data:Pointer; Notification:LongWord):LongWord;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference