2009-05-15 14:06:56 +02:00
|
|
|
/*************************************************************************
|
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* Copyright 2009 by Sun Microsystems, Inc.
|
|
|
|
*
|
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
*
|
|
|
|
* $RCSfile: code,v $
|
|
|
|
*
|
|
|
|
* $Revision: 1.4 $
|
|
|
|
*
|
|
|
|
* This file is part of OpenOffice.org.
|
|
|
|
*
|
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef INCLUDED_CONFIGMGR_ACCESS_HXX
|
|
|
|
#define INCLUDED_CONFIGMGR_ACCESS_HXX
|
|
|
|
|
|
|
|
#include "sal/config.h"
|
|
|
|
|
|
|
|
#include "boost/noncopyable.hpp"
|
|
|
|
#include "com/sun/star/beans/PropertyVetoException.hpp"
|
|
|
|
#include "com/sun/star/beans/UnknownPropertyException.hpp"
|
|
|
|
#include "com/sun/star/beans/XExactName.hpp"
|
|
|
|
#include "com/sun/star/beans/XHierarchicalPropertySet.hpp"
|
|
|
|
#include "com/sun/star/beans/XMultiHierarchicalPropertySet.hpp"
|
|
|
|
#include "com/sun/star/beans/XMultiPropertySet.hpp"
|
2009-05-15 18:00:17 +02:00
|
|
|
#include "com/sun/star/beans/XProperty.hpp"
|
2009-05-15 14:06:56 +02:00
|
|
|
#include "com/sun/star/beans/XPropertySet.hpp"
|
|
|
|
#include "com/sun/star/beans/XPropertySetInfo.hpp"
|
|
|
|
#include "com/sun/star/container/ElementExistException.hpp"
|
|
|
|
#include "com/sun/star/container/NoSuchElementException.hpp"
|
|
|
|
#include "com/sun/star/container/XContainer.hpp"
|
|
|
|
#include "com/sun/star/container/XHierarchicalName.hpp"
|
|
|
|
#include "com/sun/star/container/XHierarchicalNameAccess.hpp"
|
|
|
|
#include "com/sun/star/container/XNameContainer.hpp"
|
|
|
|
#include "com/sun/star/container/XNamed.hpp"
|
|
|
|
#include "com/sun/star/lang/IllegalArgumentException.hpp"
|
|
|
|
#include "com/sun/star/lang/NoSupportException.hpp"
|
|
|
|
#include "com/sun/star/lang/WrappedTargetException.hpp"
|
2009-05-15 18:00:17 +02:00
|
|
|
#include "com/sun/star/lang/XSingleServiceFactory.hpp"
|
|
|
|
#include "com/sun/star/uno/Exception.hpp"
|
2009-05-15 14:06:56 +02:00
|
|
|
#include "com/sun/star/uno/Reference.hxx"
|
|
|
|
#include "com/sun/star/uno/RuntimeException.hpp"
|
|
|
|
#include "com/sun/star/uno/Sequence.hxx"
|
2009-05-15 18:00:17 +02:00
|
|
|
#include "rtl/ref.hxx"
|
2009-05-15 14:06:56 +02:00
|
|
|
#include "sal/types.h"
|
2009-05-20 13:33:52 +02:00
|
|
|
#include "stl/hash_map"
|
2009-05-15 14:06:56 +02:00
|
|
|
|
2009-05-26 17:25:36 +02:00
|
|
|
#if !defined INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13
|
|
|
|
#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13
|
|
|
|
#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 13
|
2009-05-15 14:06:56 +02:00
|
|
|
#include "comphelper/implbase_var.hxx"
|
|
|
|
#undef COMPHELPER_IMPLBASE_INTERFACE_NUMBER
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace com { namespace sun { namespace star {
|
|
|
|
namespace beans {
|
|
|
|
class XHierarchicalPropertySetInfo;
|
|
|
|
class XPropertiesChangeListener;
|
|
|
|
class XPropertyChangeListener;
|
|
|
|
class XVetoableChangeListener;
|
|
|
|
struct Property;
|
|
|
|
}
|
|
|
|
namespace container { class XContainerListener; }
|
|
|
|
namespace uno {
|
|
|
|
class Any;
|
|
|
|
class Type;
|
2009-05-15 18:00:17 +02:00
|
|
|
class XInterface;
|
2009-05-15 14:06:56 +02:00
|
|
|
}
|
|
|
|
} } }
|
2009-05-20 13:33:52 +02:00
|
|
|
namespace rtl {
|
|
|
|
class OUString;
|
|
|
|
struct OUStringHash;
|
|
|
|
}
|
2009-05-15 14:06:56 +02:00
|
|
|
|
|
|
|
namespace configmgr {
|
|
|
|
|
2009-05-26 17:25:36 +02:00
|
|
|
class Change;
|
2009-05-20 13:33:52 +02:00
|
|
|
class ChildAccess;
|
2009-05-15 14:06:56 +02:00
|
|
|
class Node;
|
|
|
|
class RootAccess;
|
|
|
|
|
|
|
|
class Access:
|
2009-05-26 17:25:36 +02:00
|
|
|
public comphelper::WeakComponentImplHelper13<
|
2009-05-15 14:06:56 +02:00
|
|
|
com::sun::star::container::XHierarchicalNameAccess,
|
|
|
|
com::sun::star::container::XContainer,
|
|
|
|
com::sun::star::beans::XExactName,
|
|
|
|
com::sun::star::beans::XPropertySetInfo,
|
|
|
|
com::sun::star::container::XHierarchicalName,
|
|
|
|
com::sun::star::container::XNamed,
|
2009-05-15 18:00:17 +02:00
|
|
|
com::sun::star::beans::XProperty,
|
2009-05-15 14:06:56 +02:00
|
|
|
com::sun::star::beans::XPropertySet,
|
|
|
|
com::sun::star::beans::XMultiPropertySet,
|
|
|
|
com::sun::star::beans::XHierarchicalPropertySet,
|
|
|
|
com::sun::star::beans::XMultiHierarchicalPropertySet,
|
|
|
|
com::sun::star::container::XNameContainer,
|
2009-05-26 17:25:36 +02:00
|
|
|
com::sun::star::lang::XSingleServiceFactory >,
|
2009-05-15 14:06:56 +02:00
|
|
|
private boost::noncopyable
|
|
|
|
{
|
2009-05-20 17:20:08 +02:00
|
|
|
public:
|
|
|
|
bool isValue();
|
|
|
|
|
2009-05-29 15:19:40 +02:00
|
|
|
void releaseChild(rtl::OUString const & name);
|
|
|
|
|
2009-05-15 14:06:56 +02:00
|
|
|
protected:
|
2009-05-19 17:32:24 +02:00
|
|
|
Access();
|
2009-05-15 14:06:56 +02:00
|
|
|
|
|
|
|
virtual ~Access();
|
|
|
|
|
2009-05-19 10:49:37 +02:00
|
|
|
virtual rtl::Reference< Node > getNode() = 0;
|
2009-05-15 18:00:17 +02:00
|
|
|
|
|
|
|
virtual rtl::Reference< RootAccess > getRoot() = 0;
|
2009-05-15 14:06:56 +02:00
|
|
|
|
2009-05-28 10:19:30 +02:00
|
|
|
typedef
|
|
|
|
std::hash_map<
|
|
|
|
rtl::OUString, rtl::Reference< ChildAccess >, rtl::OUStringHash >
|
2009-05-29 15:19:40 +02:00
|
|
|
HardChildMap;
|
2009-05-28 10:19:30 +02:00
|
|
|
|
2009-05-29 16:48:52 +02:00
|
|
|
public: //TODO
|
2009-05-29 15:19:40 +02:00
|
|
|
HardChildMap modifiedChildren_;
|
2009-05-28 10:19:30 +02:00
|
|
|
|
2009-05-15 14:06:56 +02:00
|
|
|
private:
|
2009-05-19 17:32:24 +02:00
|
|
|
virtual com::sun::star::uno::Type SAL_CALL getElementType()
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual sal_Bool SAL_CALL hasElements()
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Any SAL_CALL getByName(
|
|
|
|
rtl::OUString const & aName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::container::NoSuchElementException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL
|
|
|
|
getElementNames() throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual sal_Bool SAL_CALL hasByName(rtl::OUString const & aName)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
2009-05-15 14:06:56 +02:00
|
|
|
virtual com::sun::star::uno::Any SAL_CALL getByHierarchicalName(
|
|
|
|
rtl::OUString const & aName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::container::NoSuchElementException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual sal_Bool SAL_CALL hasByHierarchicalName(rtl::OUString const & aName)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL addContainerListener(
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::container::XContainerListener > const & xListener)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL removeContainerListener(
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::container::XContainerListener > const & xListener)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual rtl::OUString SAL_CALL getExactName(
|
|
|
|
rtl::OUString const & aApproximateName)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Sequence< com::sun::star::beans::Property >
|
|
|
|
SAL_CALL getProperties() throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::beans::Property SAL_CALL getPropertyByName(
|
|
|
|
rtl::OUString const & aName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual sal_Bool SAL_CALL hasPropertyByName(rtl::OUString const & Name)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual rtl::OUString SAL_CALL getHierarchicalName()
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual rtl::OUString SAL_CALL composeHierarchicalName(
|
|
|
|
rtl::OUString const & aRelativeName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::NoSupportException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual rtl::OUString SAL_CALL getName()
|
2009-05-29 16:48:52 +02:00
|
|
|
throw (com::sun::star::uno::RuntimeException) = 0;
|
2009-05-15 14:06:56 +02:00
|
|
|
|
|
|
|
virtual void SAL_CALL setName(rtl::OUString const & aName)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
2009-05-15 18:00:17 +02:00
|
|
|
virtual com::sun::star::beans::Property SAL_CALL getAsProperty()
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
2009-05-15 14:06:56 +02:00
|
|
|
virtual
|
|
|
|
com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >
|
|
|
|
SAL_CALL getPropertySetInfo() throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL setPropertyValue(
|
|
|
|
rtl::OUString const & aPropertyName,
|
|
|
|
com::sun::star::uno::Any const & aValue)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::beans::PropertyVetoException,
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Any SAL_CALL getPropertyValue(
|
|
|
|
rtl::OUString const & PropertyName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL addPropertyChangeListener(
|
|
|
|
rtl::OUString const & aPropertyName,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XPropertyChangeListener > const & xListener)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL removePropertyChangeListener(
|
|
|
|
rtl::OUString const & aPropertyName,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XPropertyChangeListener > const & aListener)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL addVetoableChangeListener(
|
|
|
|
rtl::OUString const & PropertyName,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XVetoableChangeListener > const & aListener)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL removeVetoableChangeListener(
|
|
|
|
rtl::OUString const & PropertyName,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XVetoableChangeListener > const & aListener)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL setPropertyValues(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const & aPropertyNames,
|
|
|
|
com::sun::star::uno::Sequence< com::sun::star::uno::Any > const &
|
|
|
|
aValues)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::PropertyVetoException,
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Any > SAL_CALL
|
|
|
|
getPropertyValues(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const & aPropertyNames)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL addPropertiesChangeListener(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const & aPropertyNames,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XPropertiesChangeListener > const &
|
|
|
|
xListener)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL removePropertiesChangeListener(
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XPropertiesChangeListener > const &
|
|
|
|
xListener)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL firePropertiesChangeEvent(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const & aPropertyNames,
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XPropertiesChangeListener > const &
|
|
|
|
xListener)
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual
|
|
|
|
com::sun::star::uno::Reference<
|
|
|
|
com::sun::star::beans::XHierarchicalPropertySetInfo > SAL_CALL
|
|
|
|
getHierarchicalPropertySetInfo()
|
|
|
|
throw (com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL setHierarchicalPropertyValue(
|
|
|
|
rtl::OUString const & aHierarchicalPropertyName,
|
|
|
|
com::sun::star::uno::Any const & aValue)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::beans::PropertyVetoException,
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Any SAL_CALL getHierarchicalPropertyValue(
|
|
|
|
rtl::OUString const & aHierarchicalPropertyName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::UnknownPropertyException,
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL setHierarchicalPropertyValues(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const &
|
|
|
|
aHierarchicalPropertyNames,
|
|
|
|
com::sun::star::uno::Sequence< com::sun::star::uno::Any > const &
|
|
|
|
Values)
|
|
|
|
throw (
|
|
|
|
com::sun::star::beans::PropertyVetoException,
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Any > SAL_CALL
|
|
|
|
getHierarchicalPropertyValues(
|
|
|
|
com::sun::star::uno::Sequence< rtl::OUString > const &
|
|
|
|
aHierarchicalPropertyNames)
|
|
|
|
throw (
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL replaceByName(
|
|
|
|
rtl::OUString const & aName, com::sun::star::uno::Any const & aElement)
|
|
|
|
throw (
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::container::NoSuchElementException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL insertByName(
|
|
|
|
rtl::OUString const & aName, com::sun::star::uno::Any const & aElement)
|
|
|
|
throw (
|
|
|
|
com::sun::star::lang::IllegalArgumentException,
|
|
|
|
com::sun::star::container::ElementExistException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual void SAL_CALL removeByName(rtl::OUString const & aName)
|
|
|
|
throw (
|
|
|
|
com::sun::star::container::NoSuchElementException,
|
|
|
|
com::sun::star::lang::WrappedTargetException,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
2009-05-15 18:00:17 +02:00
|
|
|
virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface >
|
|
|
|
SAL_CALL createInstance()
|
|
|
|
throw (
|
|
|
|
com::sun::star::uno::Exception,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
|
|
|
virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface >
|
|
|
|
SAL_CALL createInstanceWithArguments(
|
|
|
|
com::sun::star::uno::Sequence< com::sun::star::uno::Any > const &
|
|
|
|
aArguments)
|
|
|
|
throw (
|
|
|
|
com::sun::star::uno::Exception,
|
|
|
|
com::sun::star::uno::RuntimeException);
|
|
|
|
|
2009-05-20 17:20:08 +02:00
|
|
|
rtl::Reference< ChildAccess > getChild(rtl::OUString const & name);
|
|
|
|
|
|
|
|
rtl::Reference< ChildAccess > getSubChild(rtl::OUString const & path);
|
2009-05-20 13:33:52 +02:00
|
|
|
|
2009-05-20 17:20:08 +02:00
|
|
|
com::sun::star::beans::Property asProperty();
|
2009-05-20 13:33:52 +02:00
|
|
|
|
2009-05-20 17:20:08 +02:00
|
|
|
void setProperty(com::sun::star::uno::Any const & value);
|
2009-05-19 17:32:24 +02:00
|
|
|
|
2009-05-29 16:48:52 +02:00
|
|
|
typedef std::hash_map< rtl::OUString, ChildAccess *, rtl::OUStringHash >
|
|
|
|
WeakChildMap;
|
|
|
|
|
|
|
|
WeakChildMap children_;
|
|
|
|
|
2009-05-15 14:06:56 +02:00
|
|
|
#if OSL_DEBUG_LEVEL > 0
|
2009-05-26 17:25:36 +02:00
|
|
|
protected:
|
2009-05-15 14:06:56 +02:00
|
|
|
enum {
|
2009-05-26 17:25:36 +02:00
|
|
|
IS_ANY = 0, IS_GROUP = 0x01, IS_SET = 0x02, IS_GROUP_OR_SET = 0x04,
|
|
|
|
IS_EXTGROUP_OR_SET = 0x08, IS_GROUP_MEMBER = 0x20, IS_SET_MEMBER = 0x40,
|
|
|
|
IS_UPDATE = 0x80 };
|
2009-05-15 14:06:56 +02:00
|
|
|
bool thisIs(int what);
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|