sbGlobalHotkeys.js File Reference

Go to the source code of this file.

Functions

Cu import ("resource://gre/modules/XPCOMUtils.jsm")
 
 __defineGetter__ ("HotkeyManager", function(){delete HotkeyManager;if(SB_HOTKEYMANAGER_CONTRACTID in Cc){HotkeyManager=Cc[SB_HOTKEYMANAGER_CONTRACTID].getService(Ci.sbIGlobalHotkeys);}else{HotkeyManager=null;}return HotkeyManager;})
 
function sbHotkeyService ()
 
function sbDefaultGlobalHotkeyActions ()
 
function sbHotkeyConfiguration ()
 
function NSGetModule (compMgr, fileSpec)
 

Variables

const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cu = Components.utils
 
const Cr = Components.results
 
const SB_HOTKEY_SERVICE_CLASSNAME
 
const SB_HOTKEY_SERVICE_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyService;1"
 
const SB_HOTKEY_SERVICE_CID = "{8264dc94-1dd2-11b2-ab4a-8b3dfb1072fb}"
 
const SB_DEFGLOBALHKACTIONS_CLASSNAME = "sbDefaultGlobalHotkeyActions"
 
const SB_DEFGLOBALHKACTIONS_DESC = "Songbird Default Global Hotkey Actions"
 
const SB_DEFGLOBALHKACTIONS_CONTRACTID = "@songbirdnest.com/Songbird/DefaultGlobalHotkeyActions;1"
 
const SB_DEFGLOBALHKACTIONS_CID = "{76512c09-7f02-48f5-86c0-c3a8670ead3f}"
 
const SB_HOTKEY_CONFIGURATION_CLASSNAME = "sbHotkeyConfiguration"
 
const SB_HOTKEY_CONFIGURATION_DESC = "Songbird Hotkey Configuration"
 
const SB_HOTKEY_CONFIGURATION_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyConfiguration;1"
 
const SB_HOTKEY_CONFIGURATION_CID = "{5c6b204c-1dd2-11b2-8005-83725e03a0d0}"
 
const SB_HOTKEYMANAGER_CONTRACTID = "@songbirdnest.com/Songbird/GlobalHotkeys;1"
 
const SB_HOTKEYACTIONS_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyActions;1"
 
const SB_COMMANDLINE_CONTRACTID = "@songbirdnest.com/commandlinehandler/general-startup;1?type=songbird"
 
const STARTUP_TOPIC = "final-ui-startup"
 
const SHUTDOWN_TOPIC = "quit-application"
 
sbHotkeyService prototype
 

Function Documentation

__defineGetter__ ( "Application"  ,
function(){delete Application;Application=Cc["@mozilla.org/fuel/application;1"].getService(Ci.fuelIApplication);return Application;}   
)

Global getter for the Global Hotkey Manager

Global getter for Global Hotkey Actions Service

Global getter for the Command Line Service

Global getter for Observer Service

Construct a column spec parser and read the column specification immediately

Parameters
aMediaListThe media list to find columns to display for
aPlaylistthe playlist binding
aMaska bitfield containing the source to look for; see the ColumnSpecParser.ORIGIN_* constants
[optional]aConstraint the media type constraint to use, if any
Cu import ( "resource://gre/modules/XPCOMUtils.jsm"  )
function NSGetModule (   compMgr,
  fileSpec 
)

Definition at line 742 of file sbGlobalHotkeys.js.

Here is the call graph for this function:

function sbDefaultGlobalHotkeyActions ( )

Definition at line 545 of file sbGlobalHotkeys.js.

Here is the caller graph for this function:

function sbHotkeyConfiguration ( )

Definition at line 721 of file sbGlobalHotkeys.js.

Here is the caller graph for this function:

function sbHotkeyService ( )

Definition at line 117 of file sbGlobalHotkeys.js.

Here is the caller graph for this function:

Variable Documentation

const Cc = Components.classes

Definition at line 25 of file sbGlobalHotkeys.js.

Definition at line 26 of file sbGlobalHotkeys.js.

const Cr = Components.results

Definition at line 28 of file sbGlobalHotkeys.js.

const Cu = Components.utils

Definition at line 27 of file sbGlobalHotkeys.js.

Definition at line 121 of file sbGlobalHotkeys.js.

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

Definition at line 47 of file sbGlobalHotkeys.js.

const SB_DEFGLOBALHKACTIONS_CID = "{76512c09-7f02-48f5-86c0-c3a8670ead3f}"

Definition at line 38 of file sbGlobalHotkeys.js.

const SB_DEFGLOBALHKACTIONS_CLASSNAME = "sbDefaultGlobalHotkeyActions"

Definition at line 35 of file sbGlobalHotkeys.js.

const SB_DEFGLOBALHKACTIONS_CONTRACTID = "@songbirdnest.com/Songbird/DefaultGlobalHotkeyActions;1"

Definition at line 37 of file sbGlobalHotkeys.js.

const SB_DEFGLOBALHKACTIONS_DESC = "Songbird Default Global Hotkey Actions"

Definition at line 36 of file sbGlobalHotkeys.js.

const SB_HOTKEY_CONFIGURATION_CID = "{5c6b204c-1dd2-11b2-8005-83725e03a0d0}"

Definition at line 43 of file sbGlobalHotkeys.js.

const SB_HOTKEY_CONFIGURATION_CLASSNAME = "sbHotkeyConfiguration"

Definition at line 40 of file sbGlobalHotkeys.js.

const SB_HOTKEY_CONFIGURATION_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyConfiguration;1"

Definition at line 42 of file sbGlobalHotkeys.js.

const SB_HOTKEY_CONFIGURATION_DESC = "Songbird Hotkey Configuration"

Definition at line 41 of file sbGlobalHotkeys.js.

const SB_HOTKEY_SERVICE_CID = "{8264dc94-1dd2-11b2-ab4a-8b3dfb1072fb}"

Definition at line 33 of file sbGlobalHotkeys.js.

const SB_HOTKEY_SERVICE_CLASSNAME
Initial value:
= "sbHotkeyService"
const SB_HOTKEY_SERVICE_DESC = "Songbird Global Hotkey Service"

Definition at line 30 of file sbGlobalHotkeys.js.

const SB_HOTKEY_SERVICE_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyService;1"

Definition at line 32 of file sbGlobalHotkeys.js.

const SB_HOTKEYACTIONS_CONTRACTID = "@songbirdnest.com/Songbird/HotkeyActions;1"

Definition at line 46 of file sbGlobalHotkeys.js.

const SB_HOTKEYMANAGER_CONTRACTID = "@songbirdnest.com/Songbird/GlobalHotkeys;1"

Definition at line 45 of file sbGlobalHotkeys.js.

const SHUTDOWN_TOPIC = "quit-application"

Definition at line 50 of file sbGlobalHotkeys.js.

const STARTUP_TOPIC = "final-ui-startup"

Definition at line 49 of file sbGlobalHotkeys.js.