PlatformUtils.jsm File Reference

Javascript source for the platform utility services. More...

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/SBDataRemoteUtils.jsm")
 

Variables

 EXPORTED_SYMBOLS = ["PlatformUtils"]
 
const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr
 

Detailed Description

Javascript source for the platform utility services.

Definition in file PlatformUtils.jsm.

Function Documentation

Components utils import ( "resource://app/jsmodules/SBDataRemoteUtils.jsm"  )

Variable Documentation

const Cc = Components.classes

Definition at line 59 of file PlatformUtils.jsm.

Definition at line 60 of file PlatformUtils.jsm.

const Cr
Initial value:
= Components.results
var PlatformUtils = {
get platformString() {
var platform = Cc["@mozilla.org/xre/runtime;1"].
getService(Ci.nsIXULRuntime).
OS;
switch(platform) {
case "WINNT":
platform = "Windows_NT";
break;
}
return platform;
}
}
const Ci
getService(Ci.sbIFaceplateManager)
const Cc

Definition at line 61 of file PlatformUtils.jsm.

EXPORTED_SYMBOLS = ["PlatformUtils"]

Definition at line 40 of file PlatformUtils.jsm.