b=272974, nice scriptable interfaces for storage, r=shaver

git-svn-id: svn://10.0.0.236/trunk@166206 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vladimir%pobox.com
2004-12-03 16:56:57 +00:00
parent 82e9ccbb8f
commit 1b24df7e55
12 changed files with 1246 additions and 94 deletions

View File

@@ -42,11 +42,13 @@
#include "mozStorageService.h"
#include "mozStorageConnection.h"
#include "mozStorageStatementWrapper.h"
#include "mozStorageCID.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(mozStorageService)
NS_GENERIC_FACTORY_CONSTRUCTOR(mozStorageConnection)
NS_GENERIC_FACTORY_CONSTRUCTOR(mozStorageStatementWrapper)
static const nsModuleComponentInfo components[] =
{
@@ -60,7 +62,13 @@ static const nsModuleComponentInfo components[] =
MOZ_STORAGE_CONNECTION_CID,
MOZ_STORAGE_CONNECTION_CONTRACTID,
mozStorageConnectionConstructor
},
{ "Unified Data Store Scriptable Statement Wrapper",
MOZ_STORAGE_STATEMENT_WRAPPER_CID,
MOZ_STORAGE_STATEMENT_WRAPPER_CONTRACTID,
mozStorageStatementWrapperConstructor
}
};
NS_IMPL_NSGETMODULE(mozStorageModule, components);
NS_IMPL_NSGETMODULE(mozStorageModule, components)