import "sbILibraryManager.idl";
Public Member Functions | |
sbILibrary | getLibrary (in AString aGuid) |
Get a library by its guid. | |
nsISimpleEnumerator | getLibraries () |
Returns a simple enumerator to enumerate all registered libraries. | |
nsISimpleEnumerator | getStartupLibraries () |
Returns a simple enumerator to enumerate all startup libraries. | |
void | registerLibrary (in sbILibrary aLibrary, in boolean aLoadAtStartup) |
Runtime registration of a library. | |
void | unregisterLibrary (in sbILibrary aLibrary) |
Runtime removal of a library. | |
void | setLibraryLoadsAtStartup (in sbILibrary aLibrary, in boolean aLoadAtStartup) |
Configures a library to run at startup. | |
boolean | getLibraryLoadsAtStartup (in sbILibrary aLibrary) |
Returns whether or not a library loads at startup. | |
boolean | hasLibrary (in sbILibrary aLibrary) |
Returns whether or not a library has been registered. | |
void | addListener (in sbILibraryManagerListener aListener) |
Adds a listener. | |
void | removeListener (in sbILibraryManagerListener aListener) |
Removes a listener. | |
Public Attributes | |
readonly attribute sbILibrary | mainLibrary |
Returns the main library. | |
readonly attribute nsIRDFDataSource | dataSource |
RDF datasource that exposes the currently active libraries and library factories. |
Definition at line 47 of file sbILibraryManager.idl.
sbILibrary sbILibraryManager::getLibrary | ( | in AString | aGuid | ) |
Get a library by its guid.
aGuid | Guid of the library you seek |
void sbILibraryManager::registerLibrary | ( | in sbILibrary | aLibrary, | |
in boolean | aLoadAtStartup | |||
) |
Runtime registration of a library.
aLibrary | Library to register | |
aLoadAtStartup | Whether or not the library manager should reload this library at the next startup. |
void sbILibraryManager::unregisterLibrary | ( | in sbILibrary | aLibrary | ) |
Runtime removal of a library.
aLibrary | Library to unregister |