...to make it easier in the future to replace the binary rdb format with something else, but also keep support for the old format for backwards compatibility (extensions). This should have no performance impact, as the type description manager (a) caches information about requested type descriptions, and (b) has been changed to process the bootstrap rdbs en bloc without doing costly consistency checks (which are useful though when inserting an rdb when installing an extension, but which would exhaustively read all type descriptions from the inserted rdb, so would negate any benefit of constructing any type descriptions on demand only). Change-Id: I80b22770bd9a5e0ab686f04d9c70295f2e3d0bf6
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/* -*- 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_CPPUHELPER_SOURCE_TYPEDESCRIPTIONPROVIDER_HXX
|
|
#define INCLUDED_CPPUHELPER_SOURCE_TYPEDESCRIPTIONPROVIDER_HXX
|
|
|
|
#include "sal/config.h"
|
|
|
|
#include "com/sun/star/uno/Reference.hxx"
|
|
#include "com/sun/star/uno/Sequence.hxx"
|
|
|
|
namespace com { namespace sun { namespace star {
|
|
namespace container { class XHierarchicalNameAccess; }
|
|
namespace lang { class XMultiComponentFactory; }
|
|
namespace uno { class XComponentContext; }
|
|
} } }
|
|
namespace rtl { class OUString; }
|
|
|
|
namespace cppuhelper {
|
|
|
|
css::uno::Sequence<
|
|
css::uno::Reference< css::container::XHierarchicalNameAccess > >
|
|
createTypeDescriptionProviders(
|
|
rtl::OUString const & uris,
|
|
css::uno::Reference< css::lang::XMultiComponentFactory > const &
|
|
serviceManager,
|
|
css::uno::Reference< css::uno::XComponentContext > const & context);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|