import "sbISmartPlaylistPropertyRegistrar.idl";
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. |
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.
nsISimpleEnumerator sbISmartPlaylistPropertyRegistrar::getPropertiesForContext | ( | in AString | aContextID | ) |
Returns an enumerator for all the properties that have been registered to a particular smart playlist context.
aContextID | ID of the context |
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.
aContextID | ID of the context | |
aProperty | the property to register |