diff options
Diffstat (limited to 'configmgr/source/api2/confprovider2.hxx')
-rw-r--r-- | configmgr/source/api2/confprovider2.hxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/configmgr/source/api2/confprovider2.hxx b/configmgr/source/api2/confprovider2.hxx index 3b498e0580..2167108779 100644 --- a/configmgr/source/api2/confprovider2.hxx +++ b/configmgr/source/api2/confprovider2.hxx @@ -2,9 +2,9 @@ * * $RCSfile: confprovider2.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jb $ $Date: 2002-12-06 13:08:28 $ + * last change: $Author: hr $ $Date: 2003-03-19 16:18:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,12 +89,10 @@ namespace configmgr OConfigurationProviderImpl* m_pImpl; uno::Sequence< ::rtl::OUString > m_aPrefetchNodes; - protected: - OConfigurationProvider(const uno::Reference< lang::XMultiServiceFactory >& _xServiceFactory, ServiceImplementationInfo const* pServices); - void connect(const ConnectionSettings& _rSettings) throw (uno::Exception); + public: + OConfigurationProvider(CreationContext const & xContext, ServiceImplementationInfo const* pServices); + void connect() throw (uno::Exception); - friend uno::Reference< uno::XInterface > SAL_CALL instantiateConfigProvider( uno::Reference< lang::XMultiServiceFactory > const& rServiceManager, ConnectionSettings const& _aSettings ); - friend uno::Reference< uno::XInterface > SAL_CALL instantiateLocalAdminProvider( uno::Reference< lang::XMultiServiceFactory > const& rServiceManager, ConnectionSettings const& _aSettings ); public: ~OConfigurationProvider(); @@ -119,9 +117,9 @@ namespace configmgr throw (::com::sun::star::uno::Exception); // XInterface - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); + virtual uno::Any SAL_CALL queryInterface( const uno::Type & rType ) throw(uno::RuntimeException); //XTypeProvider - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual uno::Sequence< uno::Type > SAL_CALL getTypes( ) throw(uno::RuntimeException); protected: virtual void SAL_CALL disposing(); |