Songbird / Development / Songbird Add-Ons API Documentation

sbISmartPlaylistPropertyRegistrar Interface Reference

Registrar for smart playlists properties. More...

import "sbISmartPlaylistPropertyRegistrar.idl";

List of all members.

Public Member Functions

nsISimpleEnumerator getPropertiesForContext (in AString aContextID)
 Returns an enumerator for all the properties that have been registered to a particular smart playlist context.
void registerPropertyToContext (in AString aContextID, in AString aProperty, in long aDefaultColWidth, in AString aDefaultSortDirection)
 Register a property to the smart playlist editor for a particular context.


Detailed Description

Registrar for smart playlists properties.

Components should register the properties they wish to expose to the smart playlist editor via this service at startup.

Definition at line 63 of file sbISmartPlaylistPropertyRegistrar.idl.


Member Function Documentation

nsISimpleEnumerator sbISmartPlaylistPropertyRegistrar::getPropertiesForContext ( in AString  aContextID  ) 

Returns an enumerator for all the properties that have been registered to a particular smart playlist context.

Parameters:
aContextID ID of the context
Returns:
Enumerator of sbISmartPlaylistProperty items

void sbISmartPlaylistPropertyRegistrar::registerPropertyToContext ( in AString  aContextID,
in AString  aProperty,
in long  aDefaultColWidth,
in AString  aDefaultSortDirection 
)

Register a property to the smart playlist editor for a particular context.

Parameters:
aContextID ID of the context
aProperty the property to register


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