33 #include "nsISupports.idl"
37 interface nsIStringBundle;
51 [scriptable,
uuid(ed260380-8c1b-11dd-ad8b-0800200c9a66)]
116 #define SB_PROPERTY_MANAGER_READY_CATEGORY "songbird-property-manager-ready"
123 [scriptable,
uuid(2C334049-EFCD-40ed-99F8-A96D541569E5)]
129 readonly attribute AString
operator;
141 void Init(in AString aOperator, in aString aOperatorReadable);
readonly attribute nsIStringEnumerator propertyIDs
An enumerator containing the ids of all registered properties.
An interface to represent an operator that may act upon a property.
readonly attribute AString operatorReadable
The operator readable string or language property name.
void addPropertyInfo(in sbIPropertyInfo aPropertyInfo)
Add a property into the system.
An interface used to describe a metadata property for use by the UI and other sbILibrary interfaces (...
AString getStringFromName(in nsIStringBundle aBundle, in AString aName)
Helper to get a display value, using a string name, from a bundle.
boolean hasProperty(in AString aID)
Check for a property in the system by ID.
Property unit converter interface This is an interface songbird property converter, used to convert a property value between its various units representations.
sbIPropertyArray getDependentProperties(in AString aID)
Get all the properties that in any way depend on the given property. For example, the secondary sort ...
void Init(in AString aOperator, in aString aOperatorReadable)
Initialize the operator.
nsIStringBundle createBundle(in string aURLSpec)
Helper to get a string bundle.
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...
Manager for system wide metadata properties.
sbIPropertyInfo getPropertyInfo(in AString aID)
Get a property object from its id.