sbCommandLine.js File Reference

Implementation of the interface nsICommandLine. More...

Go to the source code of this file.

Functions

function _debugPrint (msg)
 
function resolveURIInternal (aCmdLine, aArgument)
 
function checkUri (aURI, aURL)
 
function shouldLoadURI (aURI)
 
function sbCommandLineHandler ()
 
function NSGetModule (comMgr, fileSpec)
 

Variables

const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
const Cu = Components.utils
 
const SONGBIRD_CLH_CONTRACTID = "@songbirdnest.com/commandlinehandler/general-startup;1?type=songbird"
 
const SONGBIRD_CLH_CID = Components.ID("{128badd1-aa05-4508-87cc-f3cb3e9b5499}")
 
const SONGBIRD_CLH_CLASSNAME = "Songbird Command Line Handler"
 
const SONGBIRD_CLH_CATEGORY = "m-songbird-clh"
 
const COMMAND_LINE_TOPIC = "sb-command-line-startup"
 
sbCommandLineHandler prototype
 
const sbCommandLineHandlerModule
 

Detailed Description

Implementation of the interface nsICommandLine.

BEGIN SONGBIRD GPL

This file is part of the Songbird web player.

Copyright(c) 2005-2008 POTI, Inc. http://songbirdnest.com

This file may be licensed under the terms of of the GNU General Public License Version 2 (the "GPL").

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the GPL for the specific language governing rights and limitations.

You should have received a copy of the GPL along with this program. If not, go to http://www.gnu.org/licenses/gpl.html or write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

END SONGBIRD GPL

Definition in file sbCommandLine.js.

Function Documentation

function _debugPrint (   msg)

Definition at line 48 of file sbCommandLine.js.

function checkUri (   aURI,
  aURL 
)

Definition at line 64 of file sbCommandLine.js.

Here is the caller graph for this function:

function NSGetModule (   comMgr,
  fileSpec 
)

Definition at line 529 of file sbCommandLine.js.

function resolveURIInternal (   aCmdLine,
  aArgument 
)

Definition at line 54 of file sbCommandLine.js.

Here is the call graph for this function:

function sbCommandLineHandler ( )

/brief Songbird commandline handler

Definition at line 103 of file sbCommandLine.js.

function shouldLoadURI (   aURI)

Definition at line 90 of file sbCommandLine.js.

Variable Documentation

const Cc = Components.classes

Definition at line 32 of file sbCommandLine.js.

Definition at line 33 of file sbCommandLine.js.

const COMMAND_LINE_TOPIC = "sb-command-line-startup"

Definition at line 46 of file sbCommandLine.js.

const Cr = Components.results

Definition at line 34 of file sbCommandLine.js.

const Cu = Components.utils

Definition at line 35 of file sbCommandLine.js.

Definition at line 113 of file sbCommandLine.js.

const sbCommandLineHandlerModule

/brief The module for getting the commandline handler

Definition at line 472 of file sbCommandLine.js.

const SONGBIRD_CLH_CATEGORY = "m-songbird-clh"

Definition at line 41 of file sbCommandLine.js.

const SONGBIRD_CLH_CID = Components.ID("{128badd1-aa05-4508-87cc-f3cb3e9b5499}")

Definition at line 38 of file sbCommandLine.js.

const SONGBIRD_CLH_CLASSNAME = "Songbird Command Line Handler"

Definition at line 39 of file sbCommandLine.js.

const SONGBIRD_CLH_CONTRACTID = "@songbirdnest.com/commandlinehandler/general-startup;1?type=songbird"

Definition at line 37 of file sbCommandLine.js.