Type: info
         Title: ::basic::BasicManagerRepository
     Posted by: [EMAIL PROTECTED]
      Affected: -
Effective from: CWS basmgr01


*Summary*
--------
+ <basic/bascmanagerrepository.hxx>
+ BasicManagerRepository
+ BasicManagerCreationListener
+ BasicManagerRepository::getDocumentBasicManager(
    XModel );
+ BasicManagerRepository::getApplicationBasicManager
+ BasicManagerRepository::resetApplicationBasicManager
+ BasicManagerRepository::registerCreationListener
+ BasicManagerRepository::revokeCreationListener
(all in namespace ::basic)

*Description*
-------------
As a first step towads making the Basic IDE independent from the
SfxObjectShell, so it will be capable to administrate Basic libraries
embedded in non-SFX documents, the creation/deletion of BasicManager
instances has been centralized in the BasicManagerRepository class,
which provides a number of static methods.

SfxObjectShell::GetBasicManager nowadays is only a wrapper around
BasicManagerRepository::getDocumentBasicManager.

Note that in particular, the repository now owns the BasicManager
instances it creates. You are not allowed to directly delete a
BasicManager anymore (the dtor became protected)
If you still need this in some legacy code (e.g. binfilters), use
  static void BasicManager::LegacyDeleteBasicManager( ... )
but consider moving to the repository API instead.

See the clas header for details of the methods.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to