#88337# changed @deprecated

This commit is contained in:
Daniel Boelzle
2001-12-13 16:35:52 +00:00
parent 60cff8a195
commit acfde6cddf
5 changed files with 39 additions and 38 deletions

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: compbase.hxx,v $ * $RCSfile: compbase.hxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ * last change: $Author: dbo $ $Date: 2001-12-13 17:35:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -68,9 +68,9 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#endif #endif
/* @deprecated /* This header should not be used anymore. compbase1-N.hxx use implbase_ex.hxx except
This header should not be used anymore. compbase1-N.hxx use implbase_ex.hxx except
for MACOSX. for MACOSX.
@deprecated
*/ */
//================================================================================================== //==================================================================================================

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: component.hxx,v $ * $RCSfile: component.hxx,v $
* *
* $Revision: 1.5 $ * $Revision: 1.6 $
* *
* last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ * last change: $Author: dbo $ $Date: 2001-12-13 17:35:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -82,14 +82,14 @@
namespace cppu namespace cppu
{ {
/** @deprecated /** Deprecated. Helper for implementing ::com::sun::star::lang::XComponent.
Helper for implementing ::com::sun::star::lang::XComponent.
Upon disposing objects of this class, sub-classes receive a disposing() call. Objects of Upon disposing objects of this class, sub-classes receive a disposing() call. Objects of
this class can be held weakly, i.e. by a ::com::sun::star::uno::WeakReference. Object of this class can be held weakly, i.e. by a ::com::sun::star::uno::WeakReference. Object of
this class can be aggregated, i.e. incoming queryInterface() calls are delegated. this class can be aggregated, i.e. incoming queryInterface() calls are delegated.
@attention @attention
The life-cycle of the passed mutex reference has to be longer than objects of this class. The life-cycle of the passed mutex reference has to be longer than objects of this class.
@deprecated
*/ */
class OComponentHelper class OComponentHelper
: public ::cppu::OWeakAggObject : public ::cppu::OWeakAggObject

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: factory.hxx,v $ * $RCSfile: factory.hxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ * last change: $Author: dbo $ $Date: 2001-12-13 17:35:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -144,17 +144,16 @@ typedef void * (SAL_CALL * component_getFactoryFunc)(
#define WRITE_COMPONENT_INFO_FUNCTION "writeComponentInfo" #define WRITE_COMPONENT_INFO_FUNCTION "writeComponentInfo"
#define CREATE_COMPONENT_FACTORY_FUNCTION "createComponentFactory" #define CREATE_COMPONENT_FACTORY_FUNCTION "createComponentFactory"
/** @deprecated /** Deprecated. Function pointer declaration.
Function pointer declaration.
Function writes component registry info, at least writing the supported service names. Function writes component registry info, at least writing the supported service names.
@param pXKey a registry key @param pXKey a registry key
@return true if everything went fine @return true if everything went fine
@deprecated
*/ */
typedef sal_Bool (SAL_CALL * WriteComponentInfoFunc)( uno_Interface * pXKey ); typedef sal_Bool (SAL_CALL * WriteComponentInfoFunc)( uno_Interface * pXKey );
/** @deprecated /** Deprecated. Function pointer declaration.
Function pointer declaration.
Retrieves a factory to create component instances. Retrieves a factory to create component instances.
@param pImplName @param pImplName
@@ -162,6 +161,7 @@ typedef sal_Bool (SAL_CALL * WriteComponentInfoFunc)( uno_Interface * pXKey );
@param pXSMgr a service manager @param pXSMgr a service manager
@param pXKey a registry key @param pXKey a registry key
@return acquired component factory @return acquired component factory
@deprecated
*/ */
typedef uno_Interface* (SAL_CALL * CreateComponentFactoryFunc)( typedef uno_Interface* (SAL_CALL * CreateComponentFactoryFunc)(
const sal_Unicode * pImplName, uno_Interface * pXSMgr, uno_Interface * pXKey ); const sal_Unicode * pImplName, uno_Interface * pXSMgr, uno_Interface * pXKey );
@@ -196,17 +196,16 @@ SAL_CALL createSingleComponentFactory(
rtl_ModuleCount * pModCount = 0 ) rtl_ModuleCount * pModCount = 0 )
SAL_THROW( () ); SAL_THROW( () );
/** @deprecated /** Deprecated. The type of the instanciate function used as argument of the create*Fcatory functions.
The type of the instanciate function used as argument of the create*Fcatory functions.
@see createSingleFactory @see createSingleFactory
@see createOneInstanceFactory @see createOneInstanceFactory
@deprecated
*/ */
typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(SAL_CALL * ComponentInstantiation)( typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(SAL_CALL * ComponentInstantiation)(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager ); const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager );
/** @deprecated /** Deprecated. Creates a single service factory.
Create a single service factory.
@param rServiceManager the service manager used by the implementation. @param rServiceManager the service manager used by the implementation.
@param rImplementationName the implementation name. An empty string is possible. @param rImplementationName the implementation name. An empty string is possible.
@@ -217,6 +216,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(SA
XSingleServiceFactory and XComponent. XSingleServiceFactory and XComponent.
@see createOneInstanceFactory @see createOneInstanceFactory
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
createSingleFactory( createSingleFactory(
@@ -227,8 +227,7 @@ createSingleFactory(
rtl_ModuleCount * pModCount = 0 ) rtl_ModuleCount * pModCount = 0 )
SAL_THROW( () ); SAL_THROW( () );
/** @deprecated /** Deprecated. Creates a factory wrapping another one.
Creates a factory wrapping another one.
This means the methods of the interfaces XServiceProvider, XServiceInfo and This means the methods of the interfaces XServiceProvider, XServiceInfo and
XSingleServiceFactory are forwarded. XSingleServiceFactory are forwarded.
@attention @attention
@@ -240,6 +239,7 @@ createSingleFactory(
XSingleServiceFactory. XSingleServiceFactory.
@see createSingleFactory @see createSingleFactory
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
createFactoryProxy( createFactoryProxy(
@@ -247,8 +247,7 @@ createFactoryProxy(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory ) const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > & rFactory )
SAL_THROW( () ); SAL_THROW( () );
/** @deprecated /** Deprecated. Creates a single service factory which holds the instance created only once.
Creates a single service factory which hold the instance created.
@param rServiceManager the service manager used by the implementation. @param rServiceManager the service manager used by the implementation.
@param rImplementationName the implementation name. An empty string is possible. @param rImplementationName the implementation name. An empty string is possible.
@@ -259,6 +258,7 @@ createFactoryProxy(
XSingleServiceFactory and XComponent. XSingleServiceFactory and XComponent.
@see createSingleFactory @see createSingleFactory
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL
createOneInstanceFactory( createOneInstanceFactory(
@@ -269,14 +269,14 @@ createOneInstanceFactory(
rtl_ModuleCount * pModCount = 0 ) rtl_ModuleCount * pModCount = 0 )
SAL_THROW( () ); SAL_THROW( () );
/** @deprecated /** Deprecated. Creates a single service factory based on a registry.
Creates a single service factory.
@param rServiceManager the service manager used by the implementation. @param rServiceManager the service manager used by the implementation.
@param rImplementationName the implementation name. An empty string is possible. @param rImplementationName the implementation name. An empty string is possible.
@param rImplementationKey the registry key of the implementation section. @param rImplementationKey the registry key of the implementation section.
@return a factory that support the interfaces XServiceProvider, XServiceInfo @return a factory that support the interfaces XServiceProvider, XServiceInfo
XSingleServiceFactory and XComponent. XSingleServiceFactory and XComponent.
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL createSingleRegistryFactory( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL createSingleRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,
@@ -284,8 +284,8 @@ createOneInstanceFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey ) const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey > & rImplementationKey )
SAL_THROW( () ); SAL_THROW( () );
/** @deprecated /** Deprecated. Creates a single service factory which holds the instance created only once
Creates a single service factory which holds the instance created. based on a registry.
@param rServiceManager the service manager used by the implementation. @param rServiceManager the service manager used by the implementation.
@param rImplementationName the implementation name. An empty string is possible. @param rImplementationName the implementation name. An empty string is possible.
@@ -294,6 +294,7 @@ createOneInstanceFactory(
XSingleServiceFactory and XComponent. XSingleServiceFactory and XComponent.
@see createSingleRegistryFactory @see createSingleRegistryFactory
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL createOneInstanceRegistryFactory( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > SAL_CALL createOneInstanceRegistryFactory(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager, const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rServiceManager,

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: implbase.hxx,v $ * $RCSfile: implbase.hxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ * last change: $Author: dbo $ $Date: 2001-12-13 17:35:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -74,9 +74,9 @@
#include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
/* @deprecated /* This header should not be used anymore. implbase1-N.hxx use implbase_ex.hxx except
This header should not be used anymore. implbase1-N.hxx use implbase_ex.hxx except
for MACOSX. for MACOSX.
@deprecated
*/ */
namespace cppu namespace cppu

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: servicefactory.hxx,v $ * $RCSfile: servicefactory.hxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: dbo $ $Date: 2001-11-09 13:49:15 $ * last change: $Author: dbo $ $Date: 2001-12-13 17:35:52 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -72,8 +72,7 @@
namespace cppu namespace cppu
{ {
/** @deprecated /** Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
This bootstraps an initial service factory working on a registry. If the first or both This bootstraps an initial service factory working on a registry. If the first or both
parameters contain a value then the service factory is initialized with a simple registry parameters contain a value then the service factory is initialized with a simple registry
@@ -95,6 +94,7 @@ namespace cppu
specifies a path where the bootstrap components could be find. If this specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system parameter is an empty string the compoents will be searched in the system
path. path.
@deprecated
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL
createRegistryServiceFactory( createRegistryServiceFactory(
@@ -105,8 +105,7 @@ createRegistryServiceFactory(
SAL_THROW( (::com::sun::star::uno::Exception) ); SAL_THROW( (::com::sun::star::uno::Exception) );
/** @deprecated /** Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
This bootstraps an initial service factory working on a registry file. This bootstraps an initial service factory working on a registry file.
@@ -121,6 +120,7 @@ createRegistryServiceFactory(
specifies a path where the bootstrap components could be find. If this specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system parameter is an empty string the compoents will be searched in the system
path. path.
@deprecated
*/ */
inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL
createRegistryServiceFactory( createRegistryServiceFactory(
@@ -133,8 +133,7 @@ createRegistryServiceFactory(
rRegistryFile, ::rtl::OUString(), bReadOnly, rBootstrapPath ); rRegistryFile, ::rtl::OUString(), bReadOnly, rBootstrapPath );
} }
/** @deprecated /** Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
This bootstraps a service factory without initialize a registry. This bootstraps a service factory without initialize a registry.
@@ -142,6 +141,7 @@ createRegistryServiceFactory(
specifies a path where the bootstrap components could be find. If this specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system parameter is an empty string the compoents will be searched in the system
path. path.
@deprecated
*/ */
inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL inline ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > SAL_CALL
createServiceFactory( createServiceFactory(