sbIPropertyArray.idl
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2008 POTI, Inc.
8 // http://songbirdnest.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the "GPL").
12 //
13 // Software distributed under the License is distributed
14 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END SONGBIRD GPL
24 //
25 */
26 
32 #include "nsIArray.idl"
33 #include "nsIMutableArray.idl"
34 
35 [scriptable, uuid(478c1474-92c4-4fc4-8743-3f9f372b814d)]
37 {
41  readonly attribute AString id;
42 
46  readonly attribute AString value;
47 };
48 
55 [scriptable, uuid(cc75d9ac-cb61-4f6d-afda-1cba8a090b6f)]
56 interface sbIPropertyArray : nsIArray
57 {
63  sbIProperty getPropertyAt(in unsigned long aIndex);
64 
72  AString getPropertyValue(in AString aID);
73 
77  AString toString();
78 
83  readonly attribute boolean validated;
84 };
85 
92 [scriptable, uuid(d13954dc-1dd1-11b2-ba41-cfc220cadb50)]
94 {
105  void appendProperty(in AString aID,
106  in AString aValue);
107 
115  void appendProperties(in sbIPropertyArray aPropertyArray,
116  in boolean aSkipDuplicates);
117 
130  attribute boolean strict;
131 };
readonly attribute AString id
sbIProperty getPropertyAt(in unsigned long aIndex)
readonly attribute boolean validated
onPageChanged aValue
Definition: FeedWriter.js:1395
void appendProperty(in AString aID, in AString aValue)
readonly attribute AString value
var uuid
An interface to carry around arrays of nsIProperty instances Note that implementations of the interfa...
AString toString()
AString getPropertyValue(in AString aID)
void appendProperties(in sbIPropertyArray aPropertyArray, in boolean aSkipDuplicates)
An interface to carry around arrays of nsIProperty instances. Users of this interface should only QI ...