summaryrefslogtreecommitdiff
path: root/configmgr/source/inc/configset.hxx
diff options
context:
space:
mode:
authorJörg Barfurth <jb@openoffice.org>2000-11-10 11:21:00 +0000
committerJörg Barfurth <jb@openoffice.org>2000-11-10 11:21:00 +0000
commit8773f8e1ace81ba255e04ab28df3f08fcf569ad6 (patch)
tree4fc0c8b0117a573db347f7a811a47d8112ab83cd /configmgr/source/inc/configset.hxx
parent0c95e0dccf8e30ea80de0f8749b5f5565c86df21 (diff)
Added support for commit using old Changes trees
Diffstat (limited to 'configmgr/source/inc/configset.hxx')
-rw-r--r--configmgr/source/inc/configset.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/configmgr/source/inc/configset.hxx b/configmgr/source/inc/configset.hxx
index a7ff4f1a0a3a..00406a953ebb 100644
--- a/configmgr/source/inc/configset.hxx
+++ b/configmgr/source/inc/configset.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: configset.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: jb $ $Date: 2000-11-07 14:40:31 $
+ * last change: $Author: jb $ $Date: 2000-11-10 12:19:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,10 +68,12 @@
#include "template.hxx"
#include <vos/ref.hxx>
+#include <stl/memory>
namespace configmgr
{
class IRefCountedTemplateProvider;
+ class INode;
namespace configuration
{
@@ -135,6 +137,15 @@ namespace configmgr
Tree getTree() const;
static ElementTree extract(Tree const& aTree);
+ /** if the element tree owns it's node tree, ownership is given to the caller.
+ <p>WARNING: Irresponsible use of this feature produces crashes</p>
+ */
+ static void releaseOwnedElement(std::auto_ptr<INode>& rNewOwner, ElementTree const& aElementTree);
+ /** if the element tree owns it's node tree, ownership is given to the caller
+ and the root of the tree is assigned the given name.
+ <p>WARNING: Irresponsible use of this feature produces crashes</p>
+ */
+ static void releaseOwnedElementAs(std::auto_ptr<INode>& rNewOwner, ElementTree const& aElementTree, Name const& aNewName);
};
//-----------------------------------------------------------------------------