Difference between revisions of "Unit ShellUpdate"
From Ultibo.org
Line 129: | Line 129: | ||
---- | ---- | ||
− | '' | + | |
+ | '''Shell update''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | |||
+ | <code>TShellUpdate = class(TShellCommand)</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
+ | |- | ||
+ | | <code>constructor Create;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | |colspan="2"|<div style="font-family: monospace,courier;">'''private'''</div> | ||
+ | |- | ||
+ | | <code>function GetLocal(const AName:String):String;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function GetRemote(const AName:String):String;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"|<div style="font-family: monospace,courier;">'''protected'''</div> | ||
+ | |- | ||
+ | | <code>function UpdateGet(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function UpdateCheck(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
+ | |- | ||
+ | | <code>function DoHelp(AShell:TShell; ASession:TShellSession):Boolean; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function DoInfo(AShell:TShell; ASession:TShellSession):Boolean; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function DoCommand(AShell:TShell; ASession:TShellSession; AParameters:TStrings):Boolean; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Public variables === | === Public variables === |
Revision as of 05:21, 21 March 2017
Return to Unit Reference
Contents
[hide]Description
Ultibo Update Shell extension unit
To be documented
Constants
[Expand]
Shell update specific constants
SHELL_UPDATE_*
[Expand]
Shell update command constants
SHELL_UPDATE_COMMAND_*
[Expand]
Shell update action constants
SHELL_UPDATE_ACTION_*
[Expand]
Shell update item constants
SHELL_UPDATE_ITEM_*
[Expand]
Shell update parameter constants
SHELL_UPDATE_PARAMETER_*
Type definitions
None defined
Class definitions
Shell update
[Expand]
TShellUpdate = class(TShellCommand)
Public variables
Shell update specific variables
SHELL_UPDATE_HTTP_SERVER:String;
|
Name or IP of http server for updates (eg 192.168.0.1) |
SHELL_UPDATE_HTTP_PATH:String;
|
URL path on http server for updates (eg /updates/) |
SHELL_UPDATE_LOCAL_PATH:String;
|
Local path for updates (eg C:\) |
SHELL_UPDATE_KERNEL_IMAGE:String;
|
Name of the kernel image file for updates (eg kernel.img) |
SHELL_UPDATE_KERNEL_CONFIG:String;
|
Name of the kernel config file for updates (eg config.txt) |
SHELL_UPDATE_KERNEL_COMMAND:String;
|
Name of the kernel command file for updates (eg cmdline.txt) |
Function declarations
Initialization functions
Return to Unit Reference