Go to the source code of this file.
|
| 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 () |
| |
| function addToDeviceHelper |
( |
| ) |
|
| 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
-
- Returns
- A new unwrapper helper object.
Definition at line 60 of file sbAddToDevice.jsm.
| Components utils import |
( |
"resource://app/jsmodules/sbProperties.jsm" |
| ) |
|
| const ADDTODEVICE_COMMAND_ID = "library_cmd_addtodevice:" |
| const ADDTODEVICE_MENU_ID = "library_cmd_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_MENU_NAME = "&command.addtodevice" |
| const ADDTODEVICE_MENU_TOOLTIP = "&command.tooltip.addtodevice" |
| const ADDTODEVICE_MENU_TYPE = "submenu" |
| const Cc = Components.classes |
| const Cr = Components.results |
Initial value:= [ "addToDeviceHelper",
"SBPlaylistCommand_AddToDevice" ]
Definition at line 50 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 |