android: Update app-specific/MIME type icons
[LibreOffice.git] / include / framework / ContextChangeEventMultiplexerTunnel.hxx
blobd2ff18bbeb87bdce15a07b39d2bc956fca3eb6c8
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 #include <framework/fwkdllapi.h>
11 #include <functional>
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; }
19 namespace framework {
21 // this is pretty horrible, don't use it!
22 FWK_DLLPUBLIC css::uno::Reference<css::ui::XContextChangeEventListener>
23 GetFirstListenerWith(
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: */