INTEGRATION: CWS unopkg2 (1.2.10); FILE MERGED
2004/05/25 14:03:21 dbo 1.2.10.2: #i20304# composition => bundle, add ctor for registry Issue number: Submitted by: Reviewed by: 2004/05/06 16:03:46 dbo 1.2.10.1: #i20304# API revision Issue number: Submitted by: Reviewed by:
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: PackageRegistryBackend.idl,v $
|
* $RCSfile: PackageRegistryBackend.idl,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
*
|
*
|
||||||
* last change: $Author: hr $ $Date: 2004-04-13 11:54:11 $
|
* last change: $Author: kz $ $Date: 2004-06-11 11:50:11 $
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@@ -62,50 +62,48 @@
|
|||||||
#if ! defined INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
|
#if ! defined INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
|
||||||
#define INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
|
#define INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
|
||||||
|
|
||||||
#include <com/sun/star/lang/XInitialization.idl>
|
|
||||||
#include <com/sun/star/beans/XPropertySet.idl>
|
|
||||||
#include <com/sun/star/deployment/XPackageRegistry.idl>
|
#include <com/sun/star/deployment/XPackageRegistry.idl>
|
||||||
|
|
||||||
|
|
||||||
module com { module sun { module star { module deployment {
|
module com { module sun { module star { module deployment {
|
||||||
|
|
||||||
/** The <type>PackageRegistryBackend</type> service is used to bind
|
/** The <type>PackageRegistryBackend</type> service is used to bind
|
||||||
a specific type of <type>Package</type> which can be registered or revoked.
|
a specific type of <type>XPackage</type> which can be registered or revoked.
|
||||||
<p>
|
<p>
|
||||||
Don't create <type>PackageRegistryBackend</type>s objects by yourself,
|
Don't create <type>PackageRegistryBackend</type>s objects by yourself,
|
||||||
always use a <type>PackageRegistry</type>, i.e. use a
|
always use a <type>XPackageRegistry</type>, e.g. via
|
||||||
<type>PackageManager<type>'s "Registry" property.
|
<member>XPackageManager::getPackageRegistry<member>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@since #i20304#
|
@since #i20304#
|
||||||
*/
|
*/
|
||||||
service PackageRegistryBackend
|
service PackageRegistryBackend : XPackageRegistry
|
||||||
{
|
{
|
||||||
/** using <member scope="com::sun::star::lang">
|
/** Creates a transient registry.
|
||||||
XInitialization::initialize</member>:
|
|
||||||
<ul>
|
@param xRootRegistry
|
||||||
<li>
|
the root <type>PackageRegistry</type> of this context
|
||||||
arg[0, <type>XPackageRegistry</type>]:
|
@param context
|
||||||
reference to <type>PackageRegistry</type> root
|
context of registry, e.g. user, shared
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
arg[1, optional, string]:
|
|
||||||
cache directory to be used to achieve persistency
|
|
||||||
(transient registry, if argument is omitted)
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
*/
|
*/
|
||||||
interface com::sun::star::lang::XInitialization;
|
createTransient( [in] XPackageRegistry xRootRegistry,
|
||||||
|
[in] string context );
|
||||||
|
|
||||||
interface XPackageRegistry;
|
/** Creates a persistent registry.
|
||||||
|
|
||||||
interface com::sun::star::beans::XPropertySet;
|
@param xRootRegistry
|
||||||
|
the root <type>PackageRegistry</type> of this context
|
||||||
/** denotes the supported media types of this
|
@param context
|
||||||
<type>PackageRegistryBackend</type>
|
context of registry, e.g. user, shared
|
||||||
|
@param cacheDirectory
|
||||||
|
cache directory that the registry has to use
|
||||||
|
@param readOnly
|
||||||
|
reflects whether writing to cache directory is allowed
|
||||||
*/
|
*/
|
||||||
[property, readonly/*, constant*/]
|
createPersistent( [in] XPackageRegistry xRootRegistry,
|
||||||
sequence< string > SupportedMediaTypes;
|
[in] string context,
|
||||||
|
[in] string cacheDirectory,
|
||||||
|
[in] boolean readOnly );
|
||||||
};
|
};
|
||||||
|
|
||||||
}; }; }; };
|
}; }; }; };
|
||||||
|
Reference in New Issue
Block a user