Go to the source code of this file.
function doPostRegister |
( |
|
aCompMgr, |
|
|
|
aFile, |
|
|
|
aComponents |
|
) |
| |
Components utils import |
( |
"resource://gre/modules/XPCOMUtils.jsm" |
| ) |
|
function NSGetModule |
( |
|
compMgr, |
|
|
|
fileSpec |
|
) |
| |
function sbAboutRedirector |
( |
| ) |
|
const Cc = Components.classes |
const CID = "42631c40-1cbe-4f3a-b859-7936e542130f" |
const CONTRACTID = "@songbirdnest.com/aboutRedirector" |
const Cr = Components.results |
const DESCRIPTION = "Songbird about: protocol redirector" |
Initial value:= {
"keyboard-help": "chrome://songbird/content/html/keyboardHelp.xhtml"
}
Definition at line 29 of file sbAboutRedirector.js.
const PROTOCOL_PREFIX = "@mozilla.org/network/protocol/about;1?what=" |
Initial value:= {
newChannel:
function(
uri) {
throw Components.Exception(
"URI " +
uri.spec +
" not supported",
Components.results.NS_ERROR_UNEXPECTED);
}
var
ios =
Cc[
"@mozilla.org/network/io-service;1"].
var childURI = ios.newURI(PAGES[
uri.path],
null,
null);
var channel = ios.newChannelFromURI(childURI);
channel.originalURI =
uri;
return channel;
},
getURIFlags:
function(
uri) {
return Ci.nsIAboutModule.ALLOW_SCRIPT
},
}
sbDeviceFirmwareAutoCheckForUpdate prototype contractID
sbOSDControlService prototype QueryInterface
sbDeviceFirmwareAutoCheckForUpdate prototype classDescription
getService(Ci.sbIFaceplateManager)
sbDeviceFirmwareAutoCheckForUpdate prototype classID
Definition at line 58 of file sbAboutRedirector.js.