bump product version to 7.2.5.1
[LibreOffice.git] / unoidl / source / legacyprovider.hxx
blobcaa1b38c84a43ec08238b7570a1e099a09512cb0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #include <sal/config.h>
14 #include <registry/registry.hxx>
15 #include <rtl/ref.hxx>
16 #include <unoidl/unoidl.hxx>
18 namespace unoidl::detail {
20 class LegacyProvider: public Provider {
21 public:
22 // throws FileFormatException, NoSuchFileException:
23 LegacyProvider(Manager & manager, OUString const & uri);
25 // throws FileFormatException:
26 virtual rtl::Reference< MapCursor > createRootCursor() const override;
28 // throws FileFormatException:
29 virtual rtl::Reference< Entity > findEntity(OUString const & name)
30 const override;
32 private:
33 virtual ~LegacyProvider() noexcept override;
35 Manager & manager_;
36 mutable RegistryKey ucr_;
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */