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 sbILocalDatabaseResourcePropertyBag;
00035 interface sbIJobProgress;
00036
00041 [scriptable, uuid(0e5c3c10-8ff8-11dd-ad8b-0800200c9a66)]
00042 interface sbILocalDatabasePropertyCache : nsISupports
00043 {
00044 readonly attribute boolean writePending;
00045
00046 void getProperties([array, size_is(aGUIDArrayCount)] in wstring aGUIDArray,
00047 in unsigned long aGUIDArrayCount,
00048 out unsigned long aPropertyArrayCount,
00049 [retval, array, size_is(aPropertyArrayCount)]
00050 out sbILocalDatabaseResourcePropertyBag aPropertyArray);
00051
00052 void setProperties([array, size_is(aGUIDArrayCount)] in wstring aGUIDArray,
00053 in unsigned long aGUIDArrayCount,
00054 [array, size_is(aPropertyArrayCount)] in
00055 sbILocalDatabaseResourcePropertyBag aPropertyArray,
00056 in unsigned long aPropertyArrayCount,
00057 in boolean aWriteThroughNow);
00058
00059 void cacheProperties([array, size_is(aGUIDArrayCount)] in wstring aGUIDArray,
00060 in unsigned long aGUIDArrayCount);
00061
00062 void write();
00063
00064 unsigned long getPropertyDBID(in AString aPropertyID);
00065
00083 sbIJobProgress invalidateSortData();
00084 };