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 "nsISupports.idl"
00033
00034 interface nsIStringEnumerator;
00035
00040 [scriptable, uuid(758e5a56-0f5f-4e00-816f-189bf11ebe1f)]
00041 interface sbILocalDatabaseResourcePropertyBag : nsISupports
00042 {
00043 readonly attribute AString guid;
00044 readonly attribute unsigned long mediaItemId;
00045 readonly attribute nsIStringEnumerator ids;
00046
00054 AString getProperty(in AString aPropertyID);
00055
00063 AString getPropertyByID(in unsigned long aPropertyDBID);
00064
00065 AString getSortablePropertyByID(in unsigned long aPropertyDBID);
00066
00067 AString getSearchablePropertyByID(in unsigned long aPropertyDBID);
00068
00069 void setProperty(in AString aPropertyID, in AString aValue);
00070
00071 void write();
00072 };
00073
00074