nss: upgrade to release 3.73
[LibreOffice.git] / chart2 / source / inc / PopupRequest.hxx
blob729cc3a941fccfe9081c751c9cbb62e6c6b322d6
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 "MutexContainer.hxx"
13 #include "charttoolsdllapi.hxx"
15 #include <cppuhelper/compbase.hxx>
16 #include <com/sun/star/awt/XRequestCallback.hpp>
18 namespace chart
20 namespace impl
22 typedef cppu::WeakComponentImplHelper<css::awt::XRequestCallback> PopupRequest_Base;
25 class OOO_DLLPUBLIC_CHARTTOOLS PopupRequest : public MutexContainer, 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 protected:
34 // ____ XRequestCallback ____
35 virtual void SAL_CALL addCallback(const css::uno::Reference<::css::awt::XCallback>& xCallback,
36 const css::uno::Any& aData) override;
38 // ____ WeakComponentImplHelperBase ____
39 // is called when dispose() is called at this component
40 virtual void SAL_CALL disposing() override;
42 private:
43 css::uno::Reference<css::awt::XCallback> m_xCallback;
46 } // namespace chart
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */