LibreOffice
LibreOffice 6.4 SDK API Reference
com
sun
star
configuration
ConfigurationRegistry.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
#ifndef __com_sun_star_configuration_ConfigurationRegistry_idl__
20
#define __com_sun_star_configuration_ConfigurationRegistry_idl__
21
22
23
#include <
com/sun/star/registry/XSimpleRegistry.idl
>
24
#include <
com/sun/star/util/XFlushable.idl
>
25
26
module
com
{ module sun { module star { module configuration {
27
28
29
30
/* provides access to a configuration tree as a registry.
31
32
<p>This service is deprecated,
33
com.sun.star.configuration::ConfigurationProvider should
34
be used instead.</p>
35
36
<p> Using the com::sun::star::registry::XSimpleRegistry
37
interface, the service can be bound to a subtree within the
38
configuration tree, as provided by an
39
com.sun.star.configuration::ConfigurationProvider
40
service, which must be accessible from the service factory you use for the
41
creation of this service.
42
</p>
43
<p> There are some restrictions when accessing a configuration tree using a registry.
44
Most of them are implications of the fact that a configuration tree is very static in
45
it's structure. Removal and addition of sub nodes is allowed only for special
46
nodes, and even then the new elements have to comply to a given scheme (which is some
47
kind of attribute of the container node). So for instance the
48
com.sun.star.registry::XRegistryKey::createKey() method is not allowed
49
for some nodes.
50
</p><p>
51
Thus anybody using this service is strongly advised to read and understand the specification
52
of a configuration provider (com.sun.star.configuration::ConfigurationProvider)
53
and all of its aspects.
54
</p>
55
56
@version 1.0 2000/07/06
57
*/
58
59
published service
ConfigurationRegistry
60
{
69
interface
com::sun::star::registry::XSimpleRegistry
;
70
83
interface
com::sun::star::util::XFlushable
;
84
};
85
86
87
88
}; }; }; };
89
90
91
#endif
92
93
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::configuration::ConfigurationRegistry
Definition:
ConfigurationRegistry.idl:60
XSimpleRegistry.idl
XFlushable.idl
com::sun::star::util::XFlushable
is supported by objects with data that can be flushed to a data source.
Definition:
XFlushable.idl:34
com
Definition:
Ambiguous.idl:22
com::sun::star::registry::XSimpleRegistry
allows access to a registry (a persistent data source).
Definition:
XSimpleRegistry.idl:38
Generated by
1.8.18