fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / unoidl / legacyprovider.hxx
blobcebdc1f764eae5db198c7549f86216b6229c5c9c
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_LEGACYPROVIDER_HXX
11 #define INCLUDED_UNOIDL_LEGACYPROVIDER_HXX
13 #include "sal/config.h"
15 #include "registry/registry.hxx"
16 #include "rtl/ref.hxx"
17 #include "sal/types.h"
18 #include "unoidl/detail/dllapi.hxx"
19 #include "unoidl/unoidl.hxx"
22 namespace unoidl {
24 class LO_DLLPUBLIC_UNOIDL LegacyProvider: public Provider {
25 public:
26 // throws FileFormatException, NoSuchFileException:
27 LegacyProvider(
28 rtl::Reference< Manager > const & manager, OUString const & uri);
30 // throws FileFormatException:
31 virtual rtl::Reference< MapCursor > createRootCursor() const;
33 // throws FileFormatException:
34 virtual rtl::Reference< Entity > findEntity(OUString const & name)
35 const;
37 private:
38 virtual SAL_DLLPRIVATE ~LegacyProvider() throw ();
40 rtl::Reference< Manager > manager_;
41 mutable RegistryKey ucr_;
46 #endif
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */