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 | addToPlaylistHelper () |
Variables | |
| const | Ci = Components.interfaces |
| const | Cc = Components.classes |
| const | Cr = Components.results |
| const | ADDTOPLAYLIST_MENU_TYPE = "submenu" |
| const | ADDTOPLAYLIST_MENU_ID = "library_cmd_addtoplaylist" |
| const | ADDTOPLAYLIST_MENU_NAME = "&command.addtoplaylist" |
| const | ADDTOPLAYLIST_MENU_TOOLTIP = "&command.tooltip.addtoplaylist" |
| const | ADDTOPLAYLIST_MENU_KEY = "&command.shortcut.key.addtoplaylist" |
| const | ADDTOPLAYLIST_MENU_KEYCODE = "&command.shortcut.keycode.addtoplaylist" |
| const | ADDTOPLAYLIST_MENU_MODIFIERS = "&command.shortcut.modifiers.addtoplaylist" |
| const | DOWNLOADTOPLAYLIST_MENU_NAME = "&command.downloadtoplaylist" |
| const | DOWNLOADTOPLAYLIST_MENU_TOOLTIP = "&command.tooltip.downloadtoplaylist" |
| const | DOWNLOADTOPLAYLIST_MENU_KEY = "&command.shortcut.key.downloadtoplaylist" |
| const | DOWNLOADTOPLAYLIST_MENU_KEYCODE = "&command.shortcut.keycode.downloadtoplaylist" |
| const | DOWNLOADTOPLAYLIST_MENU_MODIFIERS = "&command.shortcut.modifiers.downloadtoplaylist" |
| const | ADDTOPLAYLIST_COMMAND_ID = "library_cmd_addtoplaylist:" |
| const | ADDTOPLAYLIST_NEWPLAYLIST_COMMAND_ID = "library_cmd_addtoplaylist_createnew" |
| EXPORTED_SYMBOLS | |
| var | SBPlaylistCommand_AddToPlaylist |
| var | SBPlaylistCommand_DownloadToPlaylist = SBPlaylistCommand_AddToPlaylist.duplicate() |
| SBPlaylistCommand_DownloadToPlaylist | m_root_commands |
| addToPlaylistHelper prototype | constructor = addToPlaylistHelper |
| addToPlaylistHelper | prototype |
| function addToPlaylistHelper | ( | ) |
Definition at line 388 of file sbAddToPlaylist.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.
| aSelection | An sbIMediaListViewSelection.selectedMediaItems enumerator |
Definition at line 63 of file sbAddToPlaylist.jsm.
| Components utils import | ( | "resource://app/jsmodules/sbProperties.jsm" | ) |
| const ADDTOPLAYLIST_COMMAND_ID = "library_cmd_addtoplaylist:" |
Definition at line 49 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_ID = "library_cmd_addtoplaylist" |
Definition at line 36 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_KEY = "&command.shortcut.key.addtoplaylist" |
Definition at line 39 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_KEYCODE = "&command.shortcut.keycode.addtoplaylist" |
Definition at line 40 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_MODIFIERS = "&command.shortcut.modifiers.addtoplaylist" |
Definition at line 41 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_NAME = "&command.addtoplaylist" |
Definition at line 37 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_TOOLTIP = "&command.tooltip.addtoplaylist" |
Definition at line 38 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_MENU_TYPE = "submenu" |
Definition at line 35 of file sbAddToPlaylist.jsm.
| const ADDTOPLAYLIST_NEWPLAYLIST_COMMAND_ID = "library_cmd_addtoplaylist_createnew" |
Definition at line 50 of file sbAddToPlaylist.jsm.
| const Cc = Components.classes |
Definition at line 32 of file sbAddToPlaylist.jsm.
| const Ci = Components.interfaces |
Definition at line 31 of file sbAddToPlaylist.jsm.
| addToPlaylistHelper prototype constructor = addToPlaylistHelper |
Definition at line 391 of file sbAddToPlaylist.jsm.
| const Cr = Components.results |
Definition at line 33 of file sbAddToPlaylist.jsm.
| const DOWNLOADTOPLAYLIST_MENU_KEY = "&command.shortcut.key.downloadtoplaylist" |
Definition at line 44 of file sbAddToPlaylist.jsm.
| const DOWNLOADTOPLAYLIST_MENU_KEYCODE = "&command.shortcut.keycode.downloadtoplaylist" |
Definition at line 45 of file sbAddToPlaylist.jsm.
| const DOWNLOADTOPLAYLIST_MENU_MODIFIERS = "&command.shortcut.modifiers.downloadtoplaylist" |
Definition at line 46 of file sbAddToPlaylist.jsm.
| const DOWNLOADTOPLAYLIST_MENU_NAME = "&command.downloadtoplaylist" |
Definition at line 42 of file sbAddToPlaylist.jsm.
| const DOWNLOADTOPLAYLIST_MENU_TOOLTIP = "&command.tooltip.downloadtoplaylist" |
Definition at line 43 of file sbAddToPlaylist.jsm.
| EXPORTED_SYMBOLS |
Definition at line 52 of file sbAddToPlaylist.jsm.
| SBPlaylistCommand_DownloadToPlaylist m_root_commands |
Definition at line 340 of file sbAddToPlaylist.jsm.
| addToPlaylistHelper prototype |
Definition at line 393 of file sbAddToPlaylist.jsm.
| var SBPlaylistCommand_AddToPlaylist |
Definition at line 74 of file sbAddToPlaylist.jsm.
| var SBPlaylistCommand_DownloadToPlaylist = SBPlaylistCommand_AddToPlaylist.duplicate() |
Definition at line 339 of file sbAddToPlaylist.jsm.