update dev300-m58
[ooovba.git] / offapi / com / sun / star / deployment / PackageRegistryBackend.idl
blobbb51744737513be21074b158677fb032a155cd2a
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: PackageRegistryBackend.idl,v $
10 * $Revision: 1.7 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #if ! defined INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
32 #define INCLUDED_com_sun_star_deployment_PackageRegistryBackend_idl
34 #include <com/sun/star/deployment/XPackageRegistry.idl>
37 module com { module sun { module star { module deployment {
39 /** The <type>PackageRegistryBackend</type> service is used to bind
40 a specific type of <type>XPackage</type> which can be registered or revoked.
41 <p>
42 All <type>PackageRegistryBackend</type> objects
43 are related to a <type>XPackageManager</type> instance.
44 </p>
46 @since OOo 2.0.0
48 service PackageRegistryBackend : XPackageRegistry
50 /** Creates a transient registry.
52 @param context
53 context of registry, e.g. user, shared
55 createTransient( [in] string context );
57 /** Creates a persistent registry.
59 @param context
60 context of registry, e.g. user, shared
61 @param cacheDirectory
62 cache directory that the registry has to use
63 @param readOnly
64 reflects whether writing to cache directory is allowed
66 createPersistent( [in] string context,
67 [in] string cacheDirectory,
68 [in] boolean readOnly );
71 }; }; }; };
73 #endif