sbLocalDatabaseLibraryFactory Class Reference

#include <sbLocalDatabaseLibraryFactory.h>

Inheritance diagram for sbLocalDatabaseLibraryFactory:
[legend]
Collaboration diagram for sbLocalDatabaseLibraryFactory:
[legend]

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...
 

Detailed Description

Definition at line 48 of file sbLocalDatabaseLibraryFactory.h.

Member Function Documentation

nsresult sbLocalDatabaseLibraryFactory::CreateLibraryFromDatabase ( nsIFile *  aDatabase,
sbILibrary **  _retval,
nsIPropertyBag2 *  aCreationParameters = nsnull,
nsString  aResourceGUID = EmptyString() 
)

Definition at line 225 of file sbLocalDatabaseLibraryFactory.cpp.

Here is the call graph for this function:

already_AddRefed< nsILocalFile > sbLocalDatabaseLibraryFactory::GetFileForGUID ( const nsAString &  aGUID)

Definition at line 615 of file sbLocalDatabaseLibraryFactory.cpp.

Here is the call graph for this function:

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.

NS_METHOD sbLocalDatabaseLibraryFactory::RegisterSelf ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const char *  aType,
const nsModuleComponentInfo *  aInfo 
)
static

Definition at line 145 of file sbLocalDatabaseLibraryFactory.cpp.


The documentation for this class was generated from the following files: