2001-04-03 10:31:26 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* $RCSfile: confproviderimpl2.hxx,v $
|
|
|
|
* $Revision: 1.6 $
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* 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.
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* 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).
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
2008-04-11 06:00:45 -05:00
|
|
|
* 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.
|
2001-04-03 10:31:26 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef CONFIGMGR_API_PROVIDERIMPL2_HXX_
|
|
|
|
#define CONFIGMGR_API_PROVIDERIMPL2_HXX_
|
|
|
|
|
|
|
|
#include "providerimpl.hxx"
|
|
|
|
|
|
|
|
namespace com { namespace sun { namespace star { namespace uno {
|
|
|
|
class Any;
|
|
|
|
class XInterface;
|
|
|
|
template <class> class Sequence;
|
|
|
|
template <class> class Reference;
|
|
|
|
} } } }
|
|
|
|
|
|
|
|
namespace configmgr
|
|
|
|
{
|
|
|
|
namespace css = ::com::sun::star;
|
|
|
|
namespace uno = css::uno;
|
|
|
|
namespace script = css::script;
|
|
|
|
|
2005-06-14 10:41:28 -05:00
|
|
|
class OConfigurationProvider;
|
|
|
|
|
2001-04-03 10:31:26 -05:00
|
|
|
class OConfigurationProviderImpl : public OProviderImpl
|
|
|
|
{
|
|
|
|
friend class OConfigurationProvider;
|
|
|
|
|
|
|
|
public:
|
|
|
|
// factory methods
|
2001-11-09 04:23:57 -06:00
|
|
|
uno::Reference<uno::XInterface> createReadAccess( uno::Sequence<uno::Any> const& aArgs) CFG_UNO_THROW_ALL( );
|
|
|
|
uno::Reference<uno::XInterface> createUpdateAccess( uno::Sequence<uno::Any> const& aArgs) CFG_UNO_THROW_ALL( );
|
2001-04-03 10:31:26 -05:00
|
|
|
private:
|
|
|
|
OConfigurationProviderImpl(OConfigurationProvider* _pProvider,
|
2003-03-19 09:20:19 -06:00
|
|
|
CreationContext const & xContext);
|
2001-04-03 10:31:26 -05:00
|
|
|
};
|
|
|
|
} // namespace configmgr
|
|
|
|
|
|
|
|
#endif // CONFIGMGR_API_PROVIDERIMPL2_HXX_
|
|
|
|
|
|
|
|
|