LibreOffice Module unoidl (master)
1
unoidl
source
legacyprovider.hxx
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
10
#pragma once
11
12
#include <
sal/config.h
>
13
14
#include <
registry/registry.hxx
>
15
#include <rtl/ref.hxx>
16
#include <
unoidl/unoidl.hxx
>
17
18
namespace
unoidl::detail
{
19
20
class
LegacyProvider
:
public
Provider
{
21
public
:
22
// throws FileFormatException, NoSuchFileException:
23
LegacyProvider
(
Manager
&
manager
, OUString
const
& uri);
24
25
// throws FileFormatException:
26
virtual
rtl::Reference< MapCursor >
createRootCursor
()
const override
;
27
28
// throws FileFormatException:
29
virtual
rtl::Reference< Entity >
findEntity
(OUString
const
&
name
)
30
const override
;
31
32
private
:
33
virtual
~LegacyProvider
()
noexcept
override
;
34
35
Manager
&
manager_
;
36
mutable
RegistryKey
ucr_
;
37
};
38
39
}
40
41
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
RegistryKey
rtl::Reference
unoidl::Manager
Definition:
unoidl.hxx:688
unoidl::Provider
Definition:
unoidl.hxx:673
unoidl::detail::LegacyProvider
Definition:
legacyprovider.hxx:20
unoidl::detail::LegacyProvider::manager_
Manager & manager_
Definition:
legacyprovider.hxx:35
unoidl::detail::LegacyProvider::ucr_
RegistryKey ucr_
Definition:
legacyprovider.hxx:36
unoidl::detail::LegacyProvider::LegacyProvider
LegacyProvider(Manager &manager, OUString const &uri)
Definition:
legacyprovider.cxx:782
unoidl::detail::LegacyProvider::createRootCursor
virtual rtl::Reference< MapCursor > createRootCursor() const override
Definition:
legacyprovider.cxx:813
unoidl::detail::LegacyProvider::findEntity
virtual rtl::Reference< Entity > findEntity(OUString const &name) const override
Definition:
legacyprovider.cxx:817
unoidl::detail::LegacyProvider::~LegacyProvider
virtual ~LegacyProvider() noexcept override
Definition:
legacyprovider.cxx:825
manager
rtl::Reference< ParseManager > manager
config.h
name
const char * name
unoidl::detail
Definition:
legacyprovider.cxx:26
registry.hxx
unoidl.hxx
Generated on Sun Jul 30 2023 04:26:49 for LibreOffice Module unoidl (master) by
1.9.3