ngIEqualizerPreset.idl
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN NIGHTINGALE GPL
4 //
5 // This file is part of the Nightingale web player.
6 //
7 // http://getnightingale.com
8 //
9 // This file may be licensed under the terms of of the
10 // GNU General Public License Version 2 (the "GPL").
11 //
12 // Software distributed under the License is distributed
13 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
14 // express or implied. See the GPL for the specific language
15 // governing rights and limitations.
16 //
17 // You should have received a copy of the GPL along with this
18 // program. If not, go to http://www.gnu.org/licenses/gpl.html
19 // or write to the Free Software Foundation, Inc.,
20 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 //
22 // END NIGHTINGALE GPL
23 //
24 */
25 
26 #include "nsISupports.idl"
27 
28 interface nsIArray;
29 interface nsIStringBundle;
30 
36 [scriptable, uuid(63191b1d-6bf7-4356-a22a-0dd59dec3490)]
38 {
42  readonly attribute AString name;
43 
49  readonly attribute nsIArray values;
50 };
51 
59 [scriptable, uuid(e0a64e39-f602-4061-81ae-5cbc6954e038)]
61 {
65  void setName(in AString aName);
66 
72  void setValues(in nsIArray aValues);
73 };
74 
80 [scriptable, uuid(904eb1f2-434c-449b-a574-9ec08c6ee50e)]
82 {
86  attribute AString property;
87 
91  attribute nsIStringBundle stringBundle;
92 
98  void setValues(in nsIArray aValues);
99 };
void setName(in AString aName)
Set the name attribute of the preset.
var uuid
attribute nsIStringBundle stringBundle
String bundle to get the localized name from.
void setValues(in nsIArray aValues)
Set the values of the preset.
attribute AString property
Name of the string in the stringBundle.
Simple default interface for equalizer presets.
Variant of a writable preset which makes the name of the preset localizable.
_updateCookies aName
Basic implementation of a mutable preset.
void setValues(in nsIArray aValues)
Set the values of the preset.
readonly attribute AString name
Name of the preset, used as unique ID and may be visible to the user.
readonly attribute nsIArray values
The values array holds the values for the bands.