Name Description Size
moz.build 907
nsCommandLine.cpp 14154
nsCommandLine.h 1588
nsICommandLine.idl Represents the command line used to invoke a XUL application. This may be the original command-line of this instance, or a command line remoted from another instance of the application. DEFINITIONS: "arguments" are any values found on the command line. "flags" are switches. In normalized form they are preceded by a single dash. Some flags may take "parameters", e.g. "--url <param>". 5220
nsICommandLineHandler.idl Handles arguments on the command line of an XUL application. Each handler is registered in the category "command-line-handler". The entries in this category are read in alphabetical order, and each category value is treated as a service contractid implementing this interface. By convention, handler with ordinary priority should begin with "m". Example: Category Entry Value command-line-handler c-extensions @mozilla.org/extension-manager/clh;1 command-line-handler m-edit @mozilla.org/composer/clh;1 command-line-handler m-irc @mozilla.org/chatzilla/clh;1 command-line-handler y-final @mozilla.org/browser/clh-final;1 @note What do we do about localizing helpInfo? Do we make each handler do it, or provide a generic solution of some sort? Don't freeze this interface without thinking about this! 2161
nsICommandLineRunner.idl Extension of nsICommandLine that allows for initialization of new command lines and running the command line actions by processing the command line handlers. @status INTERNAL - This interface is not meant for use by embedders, and is not intended to be frozen. If you are an embedder and need functionality provided by this interface, talk to Benjamin Smedberg <benjamin@smedbergs.us>. 2006
nsICommandLineValidator.idl Validates arguments on the command line of an XUL application. Each validator is registered in the category "command-line-validator". The entries in this category are read in alphabetical order, and each category value is treated as a service contractid implementing this interface. By convention, validator with ordinary priority should begin with "m". Example: Category Entry Value command-line-validator b-browser @mozilla.org/browser/clh;1 command-line-validator m-edit @mozilla.org/composer/clh;1 command-line-validator m-irc @mozilla.org/chatzilla/clh;1 1338
test