Main provider, used to store user defined presets. More...
import"ngIEqualizerPresetProvider.idl";
Public Member Functions | |
void | deletePreset (in AString aName) |
Delete the user set preset with the given name. More... | |
void | savePreset (in AString aName, in nsIArray aValues) |
Save a preset with the given name and values into the users profile. More... | |
Additional Inherited Members | |
Public Attributes inherited from ngIEqualizerPresetProvider | |
readonly attribute nsIArray | presets |
Array of presets. Each element should implement ngIEqualizerPreset. More... | |
Main provider, used to store user defined presets.
Definition at line 76 of file ngIEqualizerPresetProvider.idl.
void ngIMainEqualizerPresetProvider::deletePreset | ( | in AString | aName | ) |
Delete the user set preset with the given name.
NS_ERROR_ILLEGAL_VALUE | if the preset name has no contents (is an empty string). |
void ngIMainEqualizerPresetProvider::savePreset | ( | in AString | aName, |
in nsIArray | aValues | ||
) |
Save a preset with the given name and values into the users profile.
NS_ERROR_ILLEGAL_VALUE | if the supplied array does not have the same length as the equalizer has bands. |
NS_ERROR_ILLEGAL_VALUE | if the preset name has no contents (is an empty string). |