type TCefCommandLineRef = class(TCefBaseRefCountedRef, ICefCommandLine)
This item has no description.
![]() |
function IsValid: Boolean; |
![]() |
function IsReadOnly: Boolean; |
![]() |
function Copy: ICefCommandLine; |
![]() |
procedure InitFromArgv(argc: Integer; const argv: PPAnsiChar); |
![]() |
procedure InitFromString(const commandLine: ustring); |
![]() |
procedure Reset; |
![]() |
function GetCommandLineString: ustring; |
![]() |
procedure GetArgv(var args: TStrings); |
![]() |
function GetProgram: ustring; |
![]() |
procedure SetProgram(const prog: ustring); |
![]() |
function HasSwitches: Boolean; |
![]() |
function HasSwitch(const name: ustring): Boolean; |
![]() |
function GetSwitchValue(const name: ustring): ustring; |
![]() |
function GetSwitches(var switches: TStrings): boolean; overload; |
![]() |
function GetSwitches(var SwitchKeys, SwitchValues: TStringList): boolean; overload; |
![]() |
procedure AppendSwitch(const name: ustring); |
![]() |
procedure AppendSwitchWithValue(const name, value: ustring); |
![]() |
function HasArguments: Boolean; |
![]() |
procedure GetArguments(var arguments: TStrings); |
![]() |
procedure AppendArgument(const argument: ustring); |
![]() |
procedure PrependWrapper(const wrapper: ustring); |
![]() |
class function UnWrap(data: Pointer): ICefCommandLine; |
![]() |
class function New: ICefCommandLine; |
![]() |
class function Global: ICefCommandLine; |
![]() |
function IsValid: Boolean; |
This item has no description. Showing description inherited from ICefCommandLine.IsValid. Returns true (1) if this object is valid. Do not call any other functions if this function returns false (0). |
![]() |
function IsReadOnly: Boolean; |
This item has no description. Showing description inherited from ICefCommandLine.IsReadOnly. Returns true (1) if the values of this object are read-only. Some APIs may expose read-only objects. |
![]() |
function Copy: ICefCommandLine; |
This item has no description. Showing description inherited from ICefCommandLine.Copy. Returns a writable copy of this object. |
![]() |
procedure InitFromArgv(argc: Integer; const argv: PPAnsiChar); |
This item has no description. Showing description inherited from ICefCommandLine.InitFromArgv. Initialize the command line with the specified |argc| and |argv| values. The first argument must be the name of the program. This function is only supported on non-Windows platforms. |
![]() |
procedure InitFromString(const commandLine: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.InitFromString. Initialize the command line with the string returned by calling GetCommandLineW(). This function is only supported on Windows. |
![]() |
procedure Reset; |
This item has no description. Showing description inherited from ICefCommandLine.Reset. Reset the command-line switches and arguments but leave the program component unchanged. |
![]() |
function GetCommandLineString: ustring; |
This item has no description. Showing description inherited from ICefCommandLine.GetCommandLineString. Constructs and returns the represented command line string. Use this function cautiously because quoting behavior is unclear. |
![]() |
procedure GetArgv(var args: TStrings); |
This item has no description. Showing description inherited from ICefCommandLine.GetArgv. Retrieve the original command line string as a vector of strings. The argv array: `{ program, [(–|-|/)switch[=value]]*, [–], [argument]* }` |
![]() |
function GetProgram: ustring; |
This item has no description. Showing description inherited from ICefCommandLine.GetProgram. Get the program part of the command line string (the first item). |
![]() |
procedure SetProgram(const prog: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.SetProgram. Set the program part of the command line string (the first item). |
![]() |
function HasSwitches: Boolean; |
This item has no description. Showing description inherited from ICefCommandLine.HasSwitches. Returns true (1) if the command line has switches. |
![]() |
function HasSwitch(const name: ustring): Boolean; |
This item has no description. Showing description inherited from ICefCommandLine.HasSwitch. Returns true (1) if the command line contains the given switch. |
![]() |
function GetSwitchValue(const name: ustring): ustring; |
This item has no description. Showing description inherited from ICefCommandLine.GetSwitchValue. Returns the value associated with the given switch. If the switch has no value or isn't present this function returns the NULL string. |
![]() |
function GetSwitches(var switches: TStrings): boolean; overload; |
This item has no description. Showing description inherited from ICefCommandLine.GetSwitches. Returns the map of switch names and values. If a switch has no value an NULL string is returned. |
![]() |
function GetSwitches(var SwitchKeys, SwitchValues: TStringList): boolean; overload; |
This item has no description. Showing description inherited from ICefCommandLine.GetSwitches. Returns the map of switch names and values. If a switch has no value an NULL string is returned. |
![]() |
procedure AppendSwitch(const name: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.AppendSwitch. Add a switch to the end of the command line. |
![]() |
procedure AppendSwitchWithValue(const name, value: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.AppendSwitchWithValue. Add a switch with the specified value to the end of the command line. If the switch has no value pass an NULL value string. |
![]() |
function HasArguments: Boolean; |
This item has no description. Showing description inherited from ICefCommandLine.HasArguments. True if there are remaining command line arguments. |
![]() |
procedure GetArguments(var arguments: TStrings); |
This item has no description. Showing description inherited from ICefCommandLine.GetArguments. Get the remaining command line arguments. |
![]() |
procedure AppendArgument(const argument: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.AppendArgument. Add an argument to the end of the command line. |
![]() |
procedure PrependWrapper(const wrapper: ustring); |
This item has no description. Showing description inherited from ICefCommandLine.PrependWrapper. Insert a command before the current command. Common for debuggers, like "valgrind" or "gdb –args". |
![]() |
class function UnWrap(data: Pointer): ICefCommandLine; |
Returns a ICefCommandLine instance using a PCefCommandLine data pointer. |
![]() |
class function New: ICefCommandLine; |
Create a new ICefCommandLine instance. |
![]() |
class function Global: ICefCommandLine; |
Returns the singleton global ICefCommandLine object. The returned object will be read-only. |