LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
XSimpleRegistry.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
20
21
22module com { module sun { module star { module registry {
23
31{
34 string getURL();
35
56 void open( [in] string rURL,
57 [in] boolean bReadOnly,
58 [in] boolean bCreate )
60
63 boolean isValid();
64
70 void close()
72
78 void destroy()
80
89
95 boolean isReadOnly()
97
103 void mergeKey( [in] string aKeyName,
104 [in] string aUrl )
107
108};
109
110
111}; }; }; };
112
113/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
signals that the registry is invalid or an operation on the registry failed.
Definition InvalidRegistryException.idl:28
is thrown if entries of two registries are contradictory in the context of XSimpleRegistry::mergeKey(...
Definition MergeConflictException.idl:30
makes structural information (except regarding tree structures) of a single registry key accessible.
Definition XRegistryKey.idl:32
allows access to a registry (a persistent data source).
Definition XSimpleRegistry.idl:31
void open([in] string rURL, [in] boolean bReadOnly, [in] boolean bCreate)
connects the registry to a persistent data source represented by a URL.
void destroy()
destroys the registry and the data source.
boolean isValid()
checks if the registry points to a valid data-source.
void close()
disconnects the registry from the data-source.
com::sun::star::registry::XRegistryKey getRootKey()
void mergeKey([in] string aKeyName, [in] string aUrl)
merges a registry under the specified key.
boolean isReadOnly()
checks if the registry is readonly.
string getURL()
returns the URL of the current data source of the registry.
base interface of all UNO interfaces
Definition XInterface.idl:46
Interfaces to access registration databases.
Definition modules.idl:63
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20