SBUtils.jsm File Reference

Javascript source for the general Songbird utilities. More...

Go to the source code of this file.

Functions

Components utils import ("resource://gre/modules/XPCOMUtils.jsm")
 
function SBFilteredEnumerator (aEnumerator, aFilterFunc)
 

Variables

 EXPORTED_SYMBOLS = [ "SBUtils", "SBFilteredEnumerator" ]
 
const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
const Cu = Components.utils
 
var SBUtils
 

Detailed Description

Javascript source for the general Songbird utilities.

Definition in file SBUtils.jsm.

Function Documentation

Components utils import ( "resource://gre/modules/XPCOMUtils.jsm"  )
function SBFilteredEnumerator (   aEnumerator,
  aFilterFunc 
)

Construct a filtered enumerator for the enumerator specified by aEnumerator using the filter function specified by aFilterFunc. The filter function is provided an element from the base enumerator and should return true if the element should not be filtered out.

Parameters
aEnumeratorBase enumerator to filter.
aFilterFuncFilter function.

Definition at line 163 of file SBUtils.jsm.

Here is the caller graph for this function:

Variable Documentation

const Cc = Components.classes

Definition at line 49 of file SBUtils.jsm.

Definition at line 50 of file SBUtils.jsm.

const Cr = Components.results

Definition at line 51 of file SBUtils.jsm.

const Cu = Components.utils

Definition at line 52 of file SBUtils.jsm.

EXPORTED_SYMBOLS = [ "SBUtils", "SBFilteredEnumerator" ]

Definition at line 40 of file SBUtils.jsm.

var SBUtils

Definition at line 71 of file SBUtils.jsm.