@mozilla.org/appshell/commandLineService;1

This component implements the following interfaces:

Properties

readonly PRInt32 nsICmdLineService.argc

Argc The number of parameters passed in on the command line

readonly charArray* nsICmdLineService.argv

Argv returns a direct reference to the parameter array passed in to initialize() - do NOT dereference this array!

readonly char* nsICmdLineService.programName

ProgramName

readonly char* nsICmdLineService.URLToLoad

URLToLoad The URL to load as passed to the command line

Methods

InterfaceMethod
nsICmdLineService char* getCmdLineValue ( char* argv )
nsICmdLineService nsICmdLineHandler getHandlerForParam ( char* param )
nsICmdLineService [noscript] void initialize ( PRInt32 argc , out char* argv )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com