tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / chart2 / source / inc / PopupRequest.hxx
blob90fe315d2471391f11f8632489f44f7aa3b7077f
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 #pragma once
12 #include <config_options.h>
13 #include "charttoolsdllapi.hxx"
15 #include <comphelper/compbase.hxx>
16 #include <com/sun/star/awt/XRequestCallback.hpp>
18 namespace chart
20 namespace impl
22 typedef comphelper::WeakComponentImplHelper<css::awt::XRequestCallback> PopupRequest_Base;
25 class UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS) PopupRequest final : public impl::PopupRequest_Base
27 public:
28 explicit PopupRequest();
29 virtual ~PopupRequest() override;
31 css::uno::Reference<css::awt::XCallback> const& getCallback() const { return m_xCallback; }
33 // ____ XRequestCallback ____
34 virtual void SAL_CALL addCallback(const css::uno::Reference<::css::awt::XCallback>& xCallback,
35 const css::uno::Any& aData) override;
37 private:
38 css::uno::Reference<css::awt::XCallback> m_xCallback;
41 } // namespace chart
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */