#include <sbLocalDatabaseLibraryFactory.h>
Public Member Functions | |
already_AddRefed< nsILocalFile > | GetFileForGUID (const nsAString &aGUID) |
void | GetGUIDFromFile (nsILocalFile *aFile, nsAString &aGUID) |
nsresult | CreateLibraryFromDatabase (nsIFile *aDatabase, sbILibrary **_retval, nsIPropertyBag2 *aCreationParameters=nsnull, nsString aResourceGUID=EmptyString()) |
nsresult | Init () |
Public Member Functions inherited from sbILibraryFactory | |
sbILibrary | createLibrary (in nsIPropertyBag2 aCreationParameters) |
Create a new instance of a library. More... | |
Static Public Member Functions | |
NS_DECL_ISUPPORTS static NS_DECL_SBILIBRARYFACTORY NS_METHOD | RegisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo) |
Additional Inherited Members | |
Public Attributes inherited from sbILibraryFactory | |
readonly attribute AString | type |
A human-readable string identifying the type of library that will be created by this factory. More... | |
readonly attribute ACString | contractID |
The contract ID through which an instance of this factory can be created. More... | |
Definition at line 48 of file sbLocalDatabaseLibraryFactory.h.
nsresult sbLocalDatabaseLibraryFactory::CreateLibraryFromDatabase | ( | nsIFile * | aDatabase, |
sbILibrary ** | _retval, | ||
nsIPropertyBag2 * | aCreationParameters = nsnull , |
||
nsString | aResourceGUID = EmptyString() |
||
) |
Definition at line 225 of file sbLocalDatabaseLibraryFactory.cpp.
already_AddRefed< nsILocalFile > sbLocalDatabaseLibraryFactory::GetFileForGUID | ( | const nsAString & | aGUID | ) |
Definition at line 615 of file sbLocalDatabaseLibraryFactory.cpp.
void sbLocalDatabaseLibraryFactory::GetGUIDFromFile | ( | nsILocalFile * | aFile, |
nsAString & | aGUID | ||
) |
Definition at line 633 of file sbLocalDatabaseLibraryFactory.cpp.
nsresult sbLocalDatabaseLibraryFactory::Init | ( | ) |
Definition at line 170 of file sbLocalDatabaseLibraryFactory.cpp.
|
static |
Definition at line 145 of file sbLocalDatabaseLibraryFactory.cpp.