summaryrefslogtreecommitdiff
path: root/include/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-16 17:36:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-16 17:37:15 +0200
commit0ff9244d8aa8ba46025d8ae9d2e0f83385793165 (patch)
tree632bd80cde465b35d6acbf338bff321101837d5a /include/unoidl
parent69f08eda0bd999c827c76d3bf0b9c925b7eb25f7 (diff)
Clean up the unoidl Providers (no need to have them exported)
Change-Id: I96b99e96b44f12b7ad7f376e4b3a68d7e9531643
Diffstat (limited to 'include/unoidl')
-rw-r--r--include/unoidl/legacyprovider.hxx48
-rw-r--r--include/unoidl/sourceprovider.hxx48
-rw-r--r--include/unoidl/unoidlprovider.hxx60
3 files changed, 0 insertions, 156 deletions
diff --git a/include/unoidl/legacyprovider.hxx b/include/unoidl/legacyprovider.hxx
deleted file mode 100644
index cebdc1f764ea..000000000000
--- a/include/unoidl/legacyprovider.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_UNOIDL_LEGACYPROVIDER_HXX
-#define INCLUDED_UNOIDL_LEGACYPROVIDER_HXX
-
-#include "sal/config.h"
-
-#include "registry/registry.hxx"
-#include "rtl/ref.hxx"
-#include "sal/types.h"
-#include "unoidl/detail/dllapi.hxx"
-#include "unoidl/unoidl.hxx"
-
-
-namespace unoidl {
-
-class LO_DLLPUBLIC_UNOIDL LegacyProvider: public Provider {
-public:
- // throws FileFormatException, NoSuchFileException:
- LegacyProvider(
- rtl::Reference< Manager > const & manager, OUString const & uri);
-
- // throws FileFormatException:
- virtual rtl::Reference< MapCursor > createRootCursor() const;
-
- // throws FileFormatException:
- virtual rtl::Reference< Entity > findEntity(OUString const & name)
- const;
-
-private:
- virtual SAL_DLLPRIVATE ~LegacyProvider() throw ();
-
- rtl::Reference< Manager > manager_;
- mutable RegistryKey ucr_;
-};
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/unoidl/sourceprovider.hxx b/include/unoidl/sourceprovider.hxx
deleted file mode 100644
index e5967116fcfc..000000000000
--- a/include/unoidl/sourceprovider.hxx
+++ /dev/null
@@ -1,48 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_UNOIDL_SOURCEPROVIDER_HXX
-#define INCLUDED_UNOIDL_SOURCEPROVIDER_HXX
-
-#include "sal/config.h"
-
-#include <map>
-
-#include "rtl/ref.hxx"
-#include "sal/types.h"
-#include "unoidl/detail/dllapi.hxx"
-#include "unoidl/unoidl.hxx"
-
-namespace unoidl {
-
-class LO_DLLPUBLIC_UNOIDL SourceProvider: public Provider {
-public:
- // throws FileFormatException, NoSuchFileException:
- SourceProvider(
- rtl::Reference<Manager> const & manager, OUString const & uri);
-
- // throws FileFormatException:
- virtual rtl::Reference<MapCursor> createRootCursor() const;
-
- // throws FileFormatException:
- virtual rtl::Reference<Entity> findEntity(OUString const & name) const;
-
-private:
- virtual SAL_DLLPRIVATE ~SourceProvider() throw ();
-
- rtl::Reference<Manager> manager_;
- OUString uri_;
- mutable std::map< OUString, rtl::Reference<Entity> > cache_; //TODO: at manager
-};
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/unoidl/unoidlprovider.hxx b/include/unoidl/unoidlprovider.hxx
deleted file mode 100644
index d7d4fbb97f8c..000000000000
--- a/include/unoidl/unoidlprovider.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_UNOIDL_UNOIDLPROVIDER_HXX
-#define INCLUDED_UNOIDL_UNOIDLPROVIDER_HXX
-
-#include "sal/config.h"
-
-#include "rtl/ref.hxx"
-#include "sal/types.h"
-#include "unoidl/detail/dllapi.hxx"
-#include "unoidl/unoidl.hxx"
-
-namespace unoidl { namespace detail {
- class MappedFile;
- struct MapEntry;
-} }
-
-namespace unoidl {
-
-class LO_DLLPUBLIC_UNOIDL UnoidlProvider: public Provider {
-public:
- // throws FileFormatException, NoSuchFileException:
- explicit UnoidlProvider(OUString const & uri);
-
- // throws FileFormatException:
- virtual rtl::Reference< MapCursor > createRootCursor() const;
-
- // throws FileFormatException:
- virtual rtl::Reference< Entity > findEntity(OUString const & name)
- const;
-
- // throws FileFormatException:
- sal_uInt32 find(OUString const & name, bool * constant = 0) const;
-
- // throws FileFormatException:
- rtl::Reference< Entity > getEntity(sal_uInt32 offset) const;
-
- // throws FileFormatException:
- ConstantValue getConstant(sal_uInt32 offset) const;
-
-private:
- virtual SAL_DLLPRIVATE ~UnoidlProvider() throw ();
-
- rtl::Reference< detail::MappedFile > file_;
- detail::MapEntry const * mapBegin_;
- sal_uInt32 mapSize_;
-};
-
-}
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */