25 Components.utils.import(
"resource://gre/modules/XPCOMUtils.jsm");
27 const Cc = Components.classes;
28 const Ci = Components.interfaces;
29 const Cu = Components.utils;
40 classID: Components.ID(
"{fe6eec71-ab2c-483c-8696-662cbbcd8cd3}"),
41 contractID:
"@example.com/PartnerDistHelperInitializer;1",
47 category:
"app-startup"
53 var env =
Cc[
"@mozilla.org/process/environment;1"]
54 .getService(
Ci.nsIEnvironment);
57 var addonDir = __LOCATION__.parent.parent;
60 var distIniFile = addonDir.clone();
61 distIniFile.append(
"distribution");
62 distIniFile.append(
"distribution.ini");
64 env.set(
"DISTHELPER_DISTINI", distIniFile.path);
65 dump(
"setting DISTHELPER_DISTINI: " + distIniFile.path +
"\n");
66 Cu.reportError(
"setting DISTHELPER_DISTINI: " + distIniFile.path +
"\n");
69 env.set(
"DISTHELPER_FOOFOO", Math.random());
76 return XPCOMUtils.generateModule(components);
function NSGetModule(compMgr, fileSpec)
sbDeviceFirmwareAutoCheckForUpdate prototype contractID
sbOSDControlService prototype QueryInterface
sbDeviceFirmwareAutoCheckForUpdate prototype classDescription
function PartnerDistHelperInitializer()
sbDeviceFirmwareAutoCheckForUpdate prototype classID
sbWindowsAutoPlayServiceCfg _xpcom_categories
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe