Bump version to 6.4-15
[LibreOffice.git] / unoidl / source / legacyprovider.hxx
blob4ef2712064db70193872a7432130dc4421811a57
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 #ifndef INCLUDED_UNOIDL_SOURCE_LEGACYPROVIDER_HXX
11 #define INCLUDED_UNOIDL_SOURCE_LEGACYPROVIDER_HXX
13 #include <sal/config.h>
15 #include <registry/registry.hxx>
16 #include <rtl/ref.hxx>
17 #include <unoidl/unoidl.hxx>
19 namespace unoidl { namespace detail {
21 class LegacyProvider: public Provider {
22 public:
23 // throws FileFormatException, NoSuchFileException:
24 LegacyProvider(Manager & manager, OUString const & uri);
26 // throws FileFormatException:
27 virtual rtl::Reference< MapCursor > createRootCursor() const override;
29 // throws FileFormatException:
30 virtual rtl::Reference< Entity > findEntity(OUString const & name)
31 const override;
33 private:
34 virtual ~LegacyProvider() throw () override;
36 Manager & manager_;
37 mutable RegistryKey ucr_;
40 } }
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */