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_CHART2_SOURCE_INC_POPUPREQUEST_HXX
11 #define INCLUDED_CHART2_SOURCE_INC_POPUPREQUEST_HXX
13 #include "MutexContainer.hxx"
14 #include "charttoolsdllapi.hxx"
16 #include <cppuhelper/compbase.hxx>
17 #include <com/sun/star/awt/XRequestCallback.hpp>
25 typedef cppu::WeakComponentImplHelper
<css::awt::XRequestCallback
> PopupRequest_Base
;
29 class OOO_DLLPUBLIC_CHARTTOOLS PopupRequest
: public MutexContainer
, public impl::PopupRequest_Base
32 explicit PopupRequest();
33 virtual ~PopupRequest() override
;
35 css::uno::Reference
<css::awt::XCallback
> const & getCallback() const
41 // ____ XRequestCallback ____
42 virtual void SAL_CALL
addCallback(const css::uno::Reference
< ::css::awt::XCallback
>& xCallback
,
43 const css::uno::Any
& aData
) override
;
45 // ____ WeakComponentImplHelperBase ____
46 // is called when dispose() is called at this component
47 virtual void SAL_CALL
disposing() override
;
50 css::uno::Reference
<css::awt::XCallback
> m_xCallback
;
55 #endif // INCLUDED_CHART2_SOURCE_INC_POPUPREQUEST_HXX
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */