sbIPropertyBuilder.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2010 POTI, Inc.
7  * http://www.songbirdnest.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 SONGBIRD GPL
23  */
24 
31 #include "nsISupports.idl"
32 
34 interface sbIPropertyArray;
35 interface sbIPropertyInfo;
36 interface nsIStringBundle;
37 
42 [scriptable, uuid(9b1026c6-3896-49c6-a72f-4f4a2b21a6be)]
44 {
45  attribute AString propertyID;
46 
47  attribute AString displayName;
48 
49  attribute AString displayNameKey;
50 
51  attribute boolean userViewable;
52 
53  attribute boolean userEditable;
54 
55  attribute boolean remoteReadable;
56 
57  attribute boolean remoteWritable;
58 
59  sbIPropertyInfo get();
60 };
61 
66 [scriptable, uuid(bd71935f-697f-424d-9721-6477f4e34556)]
68 {
69  attribute AString label;
70 
71  attribute AString labelKey;
72 };
73 
78 [scriptable, uuid(c9a7b8b0-1dd1-11b2-ac2e-8a4754dfaf6f)]
80 {
81  attribute AString retryLabel;
82 
83  attribute AString retryLabelKey;
84 };
85 
86 
92 [scriptable, uuid(d7a2ee4e-1dd1-11b2-a6bb-cc3a9b2b6557)]
94 {
95  attribute AString completedLabel;
96 
97  attribute AString failedLabel;
98 
99  attribute AString completedLabelKey;
100 
101  attribute AString failedLabelKey;
102 };
103 
108 [scriptable, uuid(7b68af5c-3443-4c5b-9c65-44efe3781510)]
110 {
111 };
112 
117 [scriptable, uuid(10f69629-3e74-448a-b627-7ea734644715)]
119 {
120 };
121 
126 [scriptable, uuid(1495976a-1dd2-11b2-800f-c53b05574f38)]
128 {
134  void addImage(in ACString aKey, in ACString aImageUrl);
135 
139  ACString getImage(in ACString aKey);
140 
146  void addLabel(in ACString aKey, in AString aLabel);
147 
151  AString getLabel(in ACString aKey);
152 };
153 
161 [scriptable, uuid(758e51ee-1dd2-11b2-bd29-dc5de14cfdc1)]
163 {
166 };
void removeClickHandler(in sbIClickablePropertyCallback aCallback)
attribute AString displayName
attribute AString completedLabelKey
attribute boolean userViewable
attribute boolean userEditable
var uuid
attribute AString failedLabelKey
attribute boolean remoteReadable
function d(s)
void addClickHandler(in sbIClickablePropertyCallback aCallback)
attribute AString completedLabel
An interface used to describe a metadata property for use by the UI and other sbILibrary interfaces (...
attribute AString propertyID
attribute AString displayNameKey
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...
attribute boolean remoteWritable