sbAddToDevice.jsm File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/sbProperties.jsm")
 
function createUnwrapper (aSelection)
 Creates a new unwrapper helper object which ensures downloadStatusTarget is always set when adding items to another library or playlist on a device. More...
 
function addToDeviceHelper ()
 

Variables

const Ci = Components.interfaces
 
const Cc = Components.classes
 
const Cr = Components.results
 
const SB_MEDIALISTDUPLICATEFILTER_CONTRACTID
 
const ADDTODEVICE_MENU_TYPE = "submenu"
 
const ADDTODEVICE_MENU_ID = "library_cmd_addtodevice"
 
const ADDTODEVICE_MENU_NAME = "&command.addtodevice"
 
const ADDTODEVICE_MENU_TOOLTIP = "&command.tooltip.addtodevice"
 
const ADDTODEVICE_MENU_KEY = "&command.shortcut.key.addtodevice"
 
const ADDTODEVICE_MENU_KEYCODE = "&command.shortcut.keycode.addtodevice"
 
const ADDTODEVICE_MENU_MODIFIERS = "&command.shortcut.modifiers.addtodevice"
 
const ADDTODEVICE_COMMAND_ID = "library_cmd_addtodevice:"
 
 EXPORTED_SYMBOLS
 
var SBPlaylistCommand_AddToDevice
 
addToDeviceHelper prototype
 

Function Documentation

function addToDeviceHelper ( )

Definition at line 353 of file sbAddToDevice.jsm.

function createUnwrapper (   aSelection)

Creates a new unwrapper helper object which ensures downloadStatusTarget is always set when adding items to another library or playlist on a device.

Parameters
aSelectionAn sbIMediaListViewSelection.selectedMediaItems enumerator
Returns
A new unwrapper helper object.

Definition at line 60 of file sbAddToDevice.jsm.

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

Variable Documentation

const ADDTODEVICE_COMMAND_ID = "library_cmd_addtodevice:"

Definition at line 48 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_ID = "library_cmd_addtodevice"

Definition at line 40 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_KEY = "&command.shortcut.key.addtodevice"

Definition at line 43 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_KEYCODE = "&command.shortcut.keycode.addtodevice"

Definition at line 44 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_MODIFIERS = "&command.shortcut.modifiers.addtodevice"

Definition at line 45 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_NAME = "&command.addtodevice"

Definition at line 41 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_TOOLTIP = "&command.tooltip.addtodevice"

Definition at line 42 of file sbAddToDevice.jsm.

const ADDTODEVICE_MENU_TYPE = "submenu"

Definition at line 39 of file sbAddToDevice.jsm.

const Cc = Components.classes

Definition at line 33 of file sbAddToDevice.jsm.

Definition at line 32 of file sbAddToDevice.jsm.

const Cr = Components.results

Definition at line 34 of file sbAddToDevice.jsm.

EXPORTED_SYMBOLS
Initial value:
= [ "addToDeviceHelper",
"SBPlaylistCommand_AddToDevice" ]

Definition at line 50 of file sbAddToDevice.jsm.

addToDeviceHelper prototype

Definition at line 356 of file sbAddToDevice.jsm.

const SB_MEDIALISTDUPLICATEFILTER_CONTRACTID
Initial value:
=
"@songbirdnest.com/Songbird/Library/medialistduplicatefilter;1"

Definition at line 36 of file sbAddToDevice.jsm.

var SBPlaylistCommand_AddToDevice

Definition at line 71 of file sbAddToDevice.jsm.