00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032 #include "nsIArray.idl"
00033 #include "nsIMutableArray.idl"
00034
00035 [scriptable, uuid(478c1474-92c4-4fc4-8743-3f9f372b814d)]
00036 interface sbIProperty : nsISupports
00037 {
00041 readonly attribute AString id;
00042
00046 readonly attribute AString value;
00047 };
00048
00055 [scriptable, uuid(cc75d9ac-cb61-4f6d-afda-1cba8a090b6f)]
00056 interface sbIPropertyArray : nsIArray
00057 {
00063 sbIProperty getPropertyAt(in unsigned long aIndex);
00064
00072 AString getPropertyValue(in AString aID);
00073
00077 AString toString();
00078
00083 readonly attribute boolean validated;
00084 };
00085
00092 [scriptable, uuid(a47d226b-26eb-46b8-9d5a-f919def2ebfb)]
00093 interface sbIMutablePropertyArray : sbIPropertyArray
00094 {
00105 void appendProperty(in AString aID,
00106 in AString aValue);
00107
00120 attribute boolean strict;
00121 };