mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add CefCommandLine::GetArgv method (issue #707).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@751 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -100,6 +100,13 @@ typedef struct _cef_command_line_t {
|
||||
///
|
||||
void (CEF_CALLBACK *reset)(struct _cef_command_line_t* self);
|
||||
|
||||
///
|
||||
// Retrieve the original command line string as a vector of strings. The argv
|
||||
// array: { program, [(--|-|/)switch[=value]]*, [--], [argument]* }
|
||||
///
|
||||
void (CEF_CALLBACK *get_argv)(struct _cef_command_line_t* self,
|
||||
cef_string_list_t argv);
|
||||
|
||||
///
|
||||
// Constructs and returns the represented command line string. Use this
|
||||
// function cautiously because quoting behavior is unclear.
|
||||
|
@ -113,6 +113,13 @@ class CefCommandLine : public virtual CefBase {
|
||||
/*--cef()--*/
|
||||
virtual void Reset() =0;
|
||||
|
||||
///
|
||||
// Retrieve the original command line string as a vector of strings.
|
||||
// The argv array: { program, [(--|-|/)switch[=value]]*, [--], [argument]* }
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void GetArgv(std::vector<CefString>& argv) =0;
|
||||
|
||||
///
|
||||
// Constructs and returns the represented command line string. Use this method
|
||||
// cautiously because quoting behavior is unclear.
|
||||
|
Reference in New Issue
Block a user