26 #include "nsISupports.idl"
36 [scriptable,
uuid(cfb2690d-659c-462a-ac8f-c4eef7c536de)]
53 [scriptable,
uuid(ed4cde10-746
d-4cc9-9da4-7421543f711f)]
75 [scriptable,
uuid(24e07f0f-8715-4768-a2fc-6ef171f4aabd)]
100 void savePreset(in AString aName, in nsIArray aValues);
104 #define NG_EQUALIZER_PRESET_SAVE_TOPIC "equalizer-preset-saved"
105 #define NG_EQUALIZER_PRESET_DELETE_TOPIC "equalizer-preset-deleted"
116 [scriptable,
uuid(28fd6696-89ac-4895-8a62-27039473d98d)]
150 #define NG_EQUALIZER_PRESETS_CHANGED_TOPIC "equalizer-presets-changed"
ngIEqualizerPreset getPresetByName(in AString aName)
Returns the preset in the collection with the given name.
PRBool hasPresetNamed(in AString aName)
Returns wether the collection contains a preset with this name.
void savePreset(in AString aName, in nsIArray aValues)
Save a preset with the given name and values into the users profile.
The manager collects all preset providers and provides a collection of them.
void registerPresetProvider(in ngIEqualizerPresetProvider aNewProvider)
Add a ngIEqualizerPresetProvider to the collection.
Specific accessors to preset collections.
Main provider, used to store user defined presets.
Provides a set of immutable presets.
Simple default interface for equalizer presets.
void deletePreset(in AString aName)
Delete the user set preset with the given name.
readonly attribute nsIArray providers
Array of ngIEqualizerPresetProvider elements.
readonly attribute nsIArray presets
Array containing all presets.
readonly attribute nsIArray presets
Array of presets. Each element should implement ngIEqualizerPreset.
void unregisterPresetProvider(in ngIEqualizerPresetProvider aProvider)
Remove an ngIEqualizerPresetProvider from the list.