The nsICommandLineRunner is an extension of nsICommandLine
used to initialize command lines and run them by processing the comand line handlers.
Inherits from: nsICommandLine
void init(in long argc, in nsCharPtrArray argv, in nsIFile workingDir, in unsigned long state); |
void run(); |
void setWindowContext(in nsIDOMWindow aWindow); |
Attribute | Type | Description |
helpText | AUTF8String | Process and combine the help text provided by each command-line handler. Read only. |
Called with the argc/argv combination passed to main. It assumes a native character set. On Windows the character set is UTF-8, not the native codepage.
void init( in long argc, in nsCharPtrArray argv, in nsIFile workingDir, in unsigned long state );
argc
argv
workingDir
state
nsICommandLine
state flag.Processes the command-line handlers in the proper order, and calls nsICommandLineHandler.handle()
on each.
void run();
None.
NS_ERROR_ABORT
Sets the windowContext parameter.
void setWindowContext( in nsIDOMWindow aWindow );
aWindow
nsIDOMWindow
object.