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 $
|
||||
*
|
||||
* $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
|
||||
* either of the following licenses
|
||||
@@ -62,50 +62,48 @@
|
||||
#if ! defined 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>
|
||||
|
||||
|
||||
module com { module sun { module star { module deployment {
|
||||
|
||||
/** 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>
|
||||
Don't create <type>PackageRegistryBackend</type>s objects by yourself,
|
||||
always use a <type>PackageRegistry</type>, i.e. use a
|
||||
<type>PackageManager<type>'s "Registry" property.
|
||||
always use a <type>XPackageRegistry</type>, e.g. via
|
||||
<member>XPackageManager::getPackageRegistry<member>.
|
||||
</p>
|
||||
|
||||
@since #i20304#
|
||||
*/
|
||||
service PackageRegistryBackend
|
||||
service PackageRegistryBackend : XPackageRegistry
|
||||
{
|
||||
/** using <member scope="com::sun::star::lang">
|
||||
XInitialization::initialize</member>:
|
||||
<ul>
|
||||
<li>
|
||||
arg[0, <type>XPackageRegistry</type>]:
|
||||
reference to <type>PackageRegistry</type> root
|
||||
</li>
|
||||
<li>
|
||||
arg[1, optional, string]:
|
||||
cache directory to be used to achieve persistency
|
||||
(transient registry, if argument is omitted)
|
||||
</li>
|
||||
</ul>
|
||||
/** Creates a transient registry.
|
||||
|
||||
@param xRootRegistry
|
||||
the root <type>PackageRegistry</type> of this context
|
||||
@param context
|
||||
context of registry, e.g. user, shared
|
||||
*/
|
||||
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;
|
||||
|
||||
/** denotes the supported media types of this
|
||||
<type>PackageRegistryBackend</type>
|
||||
@param xRootRegistry
|
||||
the root <type>PackageRegistry</type> of this context
|
||||
@param context
|
||||
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*/]
|
||||
sequence< string > SupportedMediaTypes;
|
||||
createPersistent( [in] XPackageRegistry xRootRegistry,
|
||||
[in] string context,
|
||||
[in] string cacheDirectory,
|
||||
[in] boolean readOnly );
|
||||
};
|
||||
|
||||
}; }; }; };
|
||||
|
Reference in New Issue
Block a user