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 |
Javascript source for the general Songbird utilities.
Definition in file SBUtils.jsm.
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.
aEnumerator | Base enumerator to filter. |
aFilterFunc | Filter function. |
Definition at line 163 of file SBUtils.jsm.
const Cc = Components.classes |
Definition at line 49 of file SBUtils.jsm.
const Ci = Components.interfaces |
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.