import "sbILibraryFactory.idl";
Public Member Functions | |
sbILibrary | createLibrary (in nsIPropertyBag2 aCreationParameters) |
Create a new instance of a library. | |
Public Attributes | |
readonly attribute AString | type |
A human-readable string identifying the type of library that will be created by this factory. | |
readonly attribute ACString | contractID |
The contract ID through which an instance of this factory can be created. |
This interface is used to create new instances of a library.
Definition at line 47 of file sbILibraryFactory.idl.
sbILibrary sbILibraryFactory::createLibrary | ( | in nsIPropertyBag2 | aCreationParameters | ) |
Create a new instance of a library.
aCreationParameters | - A collection of properties that will be used to create the library. The accepted parameters vary for each library implementation. |
databaseFile
parameter containing a nsILocalFile to store the database in is required.