sbAddToLibrary.jsm File Reference

Go to the source code of this file.

Functions

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

Variables

const Ci = Components.interfaces
 
const Cc = Components.classes
 
const SB_MEDIALISTDUPLICATEFILTER_CONTRACTID
 
const ADDTOLIBRARY_MENU_TYPE = "menuitem"
 
const ADDTOLIBRARY_MENU_ID = "library_cmd_addtolibrary"
 
const ADDTOLIBRARY_MENU_NAME = "&command.addtolibrary"
 
const ADDTOLIBRARY_MENU_TOOLTIP = "&command.tooltip.addtolibrary"
 
const ADDTOLIBRARY_MENU_KEY = "&command.shortcut.key.addtolibrary"
 
const ADDTOLIBRARY_MENU_KEYCODE = "&command.shortcut.keycode.addtolibrary"
 
const ADDTOLIBRARY_MENU_MODIFIERS = "&command.shortcut.modifiers.addtolibrary"
 
const ADDTOLIBRARY_COMMAND_ID = "library_cmd_addtolibrary"
 
 EXPORTED_SYMBOLS
 
var SBPlaylistCommand_AddToLibrary
 
addToLibraryHelper prototype
 

Function Documentation

function addToLibraryHelper ( )

Definition at line 247 of file sbAddToLibrary.jsm.

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

Variable Documentation

const ADDTOLIBRARY_COMMAND_ID = "library_cmd_addtolibrary"

Definition at line 47 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_ID = "library_cmd_addtolibrary"

Definition at line 39 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_KEY = "&command.shortcut.key.addtolibrary"

Definition at line 42 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_KEYCODE = "&command.shortcut.keycode.addtolibrary"

Definition at line 43 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_MODIFIERS = "&command.shortcut.modifiers.addtolibrary"

Definition at line 44 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_NAME = "&command.addtolibrary"

Definition at line 40 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_TOOLTIP = "&command.tooltip.addtolibrary"

Definition at line 41 of file sbAddToLibrary.jsm.

const ADDTOLIBRARY_MENU_TYPE = "menuitem"

Definition at line 38 of file sbAddToLibrary.jsm.

const Cc = Components.classes

Definition at line 33 of file sbAddToLibrary.jsm.

Definition at line 32 of file sbAddToLibrary.jsm.

EXPORTED_SYMBOLS
Initial value:
= [ "addToLibraryHelper",
"SBPlaylistCommand_AddToLibrary" ]

Definition at line 49 of file sbAddToLibrary.jsm.

addToLibraryHelper prototype

Definition at line 248 of file sbAddToLibrary.jsm.

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

Definition at line 35 of file sbAddToLibrary.jsm.

var SBPlaylistCommand_AddToLibrary

Definition at line 55 of file sbAddToLibrary.jsm.