Factory for new library instances. More...
import"sbILibraryFactory.idl";
Public Member Functions | |
| sbILibrary | createLibrary (in nsIPropertyBag2 aCreationParameters) |
| Create a new instance of a library. More... | |
Public Attributes | |
| 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... | |
Factory for new library instances.
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.| readonly attribute ACString sbILibraryFactory::contractID |
The contract ID through which an instance of this factory can be created.
Definition at line 59 of file sbILibraryFactory.idl.
| readonly attribute AString sbILibraryFactory::type |
A human-readable string identifying the type of library that will be created by this factory.
Definition at line 53 of file sbILibraryFactory.idl.