1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #include <framework/fwkdllapi.h>
13 #include <com/sun/star/uno/Reference.hxx>
15 namespace com::sun::star::ui
{ class XContextChangeEventListener
; }
16 namespace com::sun::star::uno
{ class XInterface
; }
17 namespace com::sun::star::uno
{ class XComponentContext
; }
21 // this is pretty horrible, don't use it!
22 FWK_DLLPUBLIC
css::uno::Reference
<css::ui::XContextChangeEventListener
>
24 css::uno::Reference
<css::uno::XComponentContext
> const & xComponentContext
,
25 css::uno::Reference
<css::uno::XInterface
> const& xEventFocus
,
26 std::function
<bool (css::uno::Reference
<css::ui::XContextChangeEventListener
> const&)> const& rPredicate
);
30 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */