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
00033 #include "nsISupports.idl"
00034
00035 interface nsIFile;
00036
00037
00038 [ptr] native CDatabaseQueryPtr(CDatabaseQuery);
00039 [ref] native stlCStringRef(std::string);
00040
00049 [scriptable, uuid(4661378b-addc-4d1e-aece-0a49cd169b8d)]
00050 interface sbIDatabaseEngine : nsISupports
00051 {
00058 [noscript] PRInt32 SubmitQuery(in CDatabaseQueryPtr aDBQuery);
00059
00067 void closeDatabase(in AString aDatabaseGUID);
00068
00072 void dumpDatabase(in AString aDatabaseGUID, in nsIFile aOutFile);
00073
00078 void dumpMemoryStatistics();
00079
00086 void releaseMemory();
00087
00093 attribute boolean localeCollationEnabled;
00094
00098 readonly attribute AString localeCollationID;
00099
00100 };