Go to the source code of this file.
Functions | |
Components utils | import ("resource://app/jsmodules/sbProperties.jsm") |
if (!originGUID) | |
catch (e) | |
Variables | |
EXPORTED_SYMBOLS = ["LibraryUtils"] | |
const | Cc = Components.classes |
const | Ci = Components.interfaces |
const | Cr = Components.results |
var | LibraryUtils |
var | getMainLibraryOriginItem |
Find an item in the main library whose guid matches the originItemGuid of the param aMediaItem and return it, or null if not found. More... | |
try | |
return | foundItem |
catch | ( | e | ) |
Definition at line 280 of file sbLibraryUtils.jsm.
if | ( | ! | originGUID | ) |
Definition at line 273 of file sbLibraryUtils.jsm.
Components utils import | ( | "resource://app/jsmodules/sbProperties.jsm" | ) |
const Cc = Components.classes |
Definition at line 31 of file sbLibraryUtils.jsm.
const Ci = Components.interfaces |
Definition at line 32 of file sbLibraryUtils.jsm.
const Cr = Components.results |
Definition at line 33 of file sbLibraryUtils.jsm.
EXPORTED_SYMBOLS = ["LibraryUtils"] |
Definition at line 29 of file sbLibraryUtils.jsm.
return foundItem |
Definition at line 278 of file sbLibraryUtils.jsm.
var getMainLibraryOriginItem |
Find an item in the main library whose guid matches the originItemGuid of the param aMediaItem and return it, or null if not found.
aMediaItem | Retrieve an item from the mainLibrary whose guid matches the originItemGuid of this mediaitem |
Definition at line 39 of file sbLibraryUtils.jsm.
var LibraryUtils |
Definition at line 39 of file sbLibraryUtils.jsm.
try |
Definition at line 276 of file sbLibraryUtils.jsm.