LibreOffice Module unoidl (master) 1
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
18namespace unoidl::detail {
19
20class LegacyProvider: public Provider {
21public:
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
32private:
33 virtual ~LegacyProvider() noexcept override;
34
37};
38
39}
40
41/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
LegacyProvider(Manager &manager, OUString const &uri)
virtual rtl::Reference< MapCursor > createRootCursor() const override
virtual rtl::Reference< Entity > findEntity(OUString const &name) const override
virtual ~LegacyProvider() noexcept override
rtl::Reference< ParseManager > manager
const char * name