25 #include "nsISupports.idl"
40 [scriptable,
uuid(8f94e630-1dd2-11b2-848
d-eac62dd0dbd4)]
83 (in AString aCommandId,
85 in AString aTooltipText,
130 in AString aMediaListType,
172 in AString aMediaListGUID,
202 in AString aMediaListType,
231 in AString aMediaListGUID,
257 (in
unsigned short aTargetFlag,
258 in AString aMediaListType,
259 in AString aCommandId);
283 (in
unsigned short aTargetFlag,
284 in AString aMediaListGUID,
285 in AString aCommandId);
void addCommandObjectForType(in unsigned short aTargetFlags, in AString aMediaListType, in sbIPlaylistCommands aCommandObject)
Add a command object to medialists of the specified type. Generally commands added to type are defaul...
A helper used to construct sbIPlaylistCommands interfaces.
sbIPlaylistCommandsBuilder createCommandObjectForAction(in AString aCommandId, in AString aLabel, in AString aTooltipText, in sbIPlaylistCommandsBuilderSimpleCallback aCallback)
A method to create a command object for a specified action. The command object and action added to th...
void removeCommandObjectForType(in unsigned short aTargetFlags, in AString aMediaListType, in sbIPlaylistCommands aCommandObject)
Remove a command object from medialists of the specified type.
void addCommandObjectForGUID(in unsigned short aTargetFlags, in AString aMediaListGUID, in sbIPlaylistCommands aCommandObject)
Add a command object to the medialist of the specified guid. Generally, if a medialist has commands r...
sbIPlaylistCommands getCommandObjectForGUID(in unsigned short aTargetFlag, in AString aMediaListGUID, in AString aCommandId)
Retrieve a specific command object registered for the medialist with the param guid.
const unsigned short TARGET_TOOLBAR
A flag referring to the toolbar at the bottom of a medialist view.
const unsigned short TARGET_ALL
A convenience flag referring to all locations that a sbIPlaylistCommands object can appear...
const unsigned short TARGET_MEDIAITEM_CONTEXT_MENU
A flag referring to the context menu that appears from mediaitems displayed in the medialist...
An interface used to receive generic callbacks from an sbIPlaylistCommandsBuilder object...
void removeCommandObjectForGUID(in unsigned short aTargetFlags, in AString aMediaListGUID, in sbIPlaylistCommands aCommandObject)
Remove a command object from the medialist of the specified guid.
A helper service to add and remove playlistCommands.
An interface that represents the set of command buttons and context menu items available on a display...
const unsigned short TARGET_SERVICEPANE_MENU
A flag referring to the context menu that appears from the service pane node.
sbIPlaylistCommands getCommandObjectForType(in unsigned short aTargetFlag, in AString aMediaListType, in AString aCommandId)
Retrieve a specific command object registered for medialists of the param type.