#81740# Added ability dispose all data for a user to the tree manager

This commit is contained in:
Jörg Barfurth 2000-12-14 15:12:44 +00:00
parent ef64328119
commit 1de2294ed9
2 changed files with 16 additions and 4 deletions

View file

@ -2,9 +2,9 @@
*
* $RCSfile: providerimpl.cxx,v $
*
* $Revision: 1.13 $
* $Revision: 1.14 $
*
* last change: $Author: jb $ $Date: 2000-12-13 12:22:22 $
* last change: $Author: jb $ $Date: 2000-12-14 16:12:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -236,6 +236,12 @@ namespace configmgr
m_pTreeMgr->releaseSubtree(aSubtreePath, _xOptions);
}
//-----------------------------------------------------------------------------
void OProviderImpl::disposeData(const vos::ORef < OOptions >& _xOptions) throw ()
{
m_pTreeMgr->disposeData(_xOptions);
}
//-----------------------------------------------------------------------------
void OProviderImpl::notifyUpdate(TreeChangeList const& aChanges) throw (uno::RuntimeException)
{

View file

@ -2,9 +2,9 @@
*
* $RCSfile: treeprovider.hxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: jb $ $Date: 2000-12-04 09:14:33 $
* last change: $Author: jb $ $Date: 2000-12-14 16:11:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -194,6 +194,12 @@ namespace configmgr
// bookkeeping support
virtual void releaseSubtree(OUString const& aSubtreePath,
const vos::ORef < OOptions >& _xOptions ) throw () = 0;
/** data for the given options may not be used any more
<p>all clients of such data must be disposed</p>
<p>If the locale is not set, the whole user has become invalid</p>
*/
virtual void disposeData(const vos::ORef < OOptions >& _xOptions) throw () = 0;
};