Songbird / Development / Songbird Add-Ons API Documentation

sbIPlaylistCommandsBuilderInstantiationCallback Interface Reference
[Playlist CommandsPlaylist Commands]

A callback interface used to instantiate a custom command DOM element for sbIPlaylistCommandsBuilder objects. More...

List of all members.

Public Member Functions

nsIDOMNode handleCallback (in sbIPlaylistCommandsBuilderContext aContext, in AString aSubMenuId, in AString aCommandId, in AString aHost, in nsIDOMDocument aParentDocument)
 The callback function.


Detailed Description

A callback interface used to instantiate a custom command DOM element for sbIPlaylistCommandsBuilder objects.

This interface may be replaced by a javascript function in any of the sbIPlaylistCommandsBuilder functions that take it as a parameter.

See also:
sbIPlaylistCommandsBuilder, sbIPlaylistCommandsBuilderRefreshCallback

Definition at line 813 of file sbIPlaylistCommandsBuilder.idl.


Member Function Documentation

nsIDOMNode sbIPlaylistCommandsBuilderInstantiationCallback::handleCallback ( in sbIPlaylistCommandsBuilderContext  aContext,
in AString  aSubMenuId,
in AString  aCommandId,
in AString  aHost,
in nsIDOMDocument  aParentDocument 
)

The callback function.

Parameters:
aContext The instantiation context for this command
aSubMenuId The submenu id for this command
aCommandId The id for this command
aHost The host type that instantiated this command
aParentDocument The parent document for the element to create
Returns:
The DOM element to return


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:29:01 2009 for Songbird by  doxygen 1.5.2