Difference between revisions of "TShellUpdate"
From Ultibo.org
(Created page with "Return to Unit ShellUpdate __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsib...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
|- | |- | ||
| <code>function GetList(const ANames:String):TStringList;</code> | | <code>function GetList(const ANames:String):TStringList;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function AddList(const ANames:String; AList:TStringList):Boolean;</code> | ||
| | | | ||
|- | |- | ||
Line 33: | Line 36: | ||
|- | |- | ||
| <code>function GetRemote(const AName:String):String;</code> | | <code>function GetRemote(const AName:String):String;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>function IsParameter(const AValue:String; const AParameter:String = ''):Boolean;</code> | ||
| | | | ||
|- | |- | ||
Line 81: | Line 89: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
<pre style="border: 0; padding-bottom:0px;">function TShellUpdate.GetList(const ANames:String):TStringList;</pre> | <pre style="border: 0; padding-bottom:0px;">function TShellUpdate.GetList(const ANames:String):TStringList;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function TShellUpdate.AddList(const ANames:String; AList:TStringList):Boolean;</pre> | ||
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 105: | Line 125: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
<pre style="border: 0; padding-bottom:0px;">function TShellUpdate.GetRemote(const AName:String):String;</pre> | <pre style="border: 0; padding-bottom:0px;">function TShellUpdate.GetRemote(const AName:String):String;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function TShellUpdate.IsParameter(const AValue:String; const AParameter:String = ''):Boolean;</pre> | ||
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> |
Latest revision as of 03:49, 13 September 2022
Return to Unit ShellUpdate
Description
To be documented
Class definitions
TShellUpdate = class(TShellCommand)
public
| |
constructor Create;
|
|
private
| |
function GetList(const ANames:String):TStringList;
|
|
function AddList(const ANames:String; AList:TStringList):Boolean;
|
|
function GetLocal(const AName:String; ACurrent:Boolean):String;
|
|
function GetRemote(const AName:String):String;
|
|
function IsParameter(const AValue:String; const AParameter:String = ):Boolean;
|
|
procedure SetProxy(AClient:THTTPClient);
|
|
protected
| |
function UpdateGet(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;
|
|
function UpdateCheck(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;
|
|
public
| |
function DoHelp(AShell:TShell; ASession:TShellSession):Boolean; override;
|
|
function DoInfo(AShell:TShell; ASession:TShellSession):Boolean; override;
|
|
function DoCommand(AShell:TShell; ASession:TShellSession; AParameters:TStrings):Boolean; override;
|
Function declarations
constructor TShellUpdate.Create;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.GetList(const ANames:String):TStringList;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.AddList(const ANames:String; AList:TStringList):Boolean;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.GetLocal(const AName:String; ACurrent:Boolean):String;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.GetRemote(const AName:String):String;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.IsParameter(const AValue:String; const AParameter:String = ''):Boolean;
Description: To be documented
Note | None documented |
---|
procedure TShellUpdate.SetProxy(AClient:THTTPClient);
Description: To be documented
Note | None documented |
---|
function TShellUpdate.UpdateGet(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.UpdateCheck(AShell:TShell; ASession:TShellSession; const ALocal,ARemote:String; AForce:Boolean; var AUpdate:Boolean):Boolean;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.DoHelp(AShell:TShell; ASession:TShellSession):Boolean;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.DoInfo(AShell:TShell; ASession:TShellSession):Boolean;
Description: To be documented
Note | None documented |
---|
function TShellUpdate.DoCommand(AShell:TShell; ASession:TShellSession; AParameters:TStrings):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference