sbISmartPlaylistPropertyRegistrar Interface Reference

Registrar for smart playlists properties. More...

import"sbISmartPlaylistPropertyRegistrar.idl";

Inheritance diagram for sbISmartPlaylistPropertyRegistrar:
[legend]
Collaboration diagram for sbISmartPlaylistPropertyRegistrar:
[legend]

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. More...
 
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. More...
 

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
aContextIDID 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
aContextIDID of the context
aPropertythe property to register

The documentation for this interface was generated from the following file: