main.js File Reference

Go to the source code of this file.

Functions

 if (typeof ShoutcastRadio== 'undefined')
 
Cu import ("resource://shoutcast-radio/Utils.jsm", ShoutcastRadio)
 
Cu import ("resource://app/jsmodules/SBDataRemoteUtils.jsm")
 
 if (typeof(gMM)=="undefined") var gMM
 
window addEventListener ("unload", function(e){ShoutcastRadio.Controller.onUnLoad(e);}, false)
 

Variables

const shoutcastTempLibGuid = "extensions.shoutcast-radio.templib.guid"
 
var mmListener
 
var curTrackListener
 

Function Documentation

window addEventListener ( "unload"  ,
function(e){ShoutcastRadio.Controller.onUnLoad(e);}  ,
false   
)
if ( typeof  ShoutcastRadio = = 'undefined')

Definition at line 2 of file main.js.

if ( typeof(gMM = ="undefined")

Debug Wrapper. Subclasses and replaces DateRemote to keep track of how many dataremotes are alive, and for which keys.

Enable DEBUG_DATAREMOTES to track down leaks.

Definition at line 524 of file sbDataRemote.js.

Cu import ( "resource://shoutcast-radio/Utils.jsm"  ,
ShoutcastRadio   
)
Cu import ( "resource://app/jsmodules/SBDataRemoteUtils.jsm"  )

Variable Documentation

var curTrackListener

Definition at line 373 of file main.js.

var mmListener

Definition at line 31 of file main.js.

const shoutcastTempLibGuid = "extensions.shoutcast-radio.templib.guid"

Definition at line 29 of file main.js.