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 #ifndef INCLUDED_SFX2_ASYNCFUNC_HXX
11 #define INCLUDED_SFX2_ASYNCFUNC_HXX
15 #include <com/sun/star/lang/XUnoTunnel.hpp>
16 #include <comphelper/servicehelper.hxx>
17 #include <cppuhelper/implbase.hxx>
19 class AsyncFunc final
: public cppu::WeakImplHelper
<css::lang::XUnoTunnel
>
22 std::function
<void()> const m_pAsyncFunc
;
25 AsyncFunc(const std::function
<void()>&);
26 virtual ~AsyncFunc() override
;
31 UNO3_GETIMPLEMENTATION_DECL(AsyncFunc
)
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */