LibreOffice Module chart2 (master)
1
chart2
source
inc
PopupRequest.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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
*/
9
10
#pragma once
11
12
#include "
charttoolsdllapi.hxx
"
13
14
#include <
comphelper/compbase.hxx
>
15
#include <com/sun/star/awt/XRequestCallback.hpp>
16
17
namespace
chart
18
{
19
namespace
impl
20
{
21
typedef
comphelper::WeakComponentImplHelper<css::awt::XRequestCallback>
PopupRequest_Base
;
22
}
23
24
class
OOO_DLLPUBLIC_CHARTTOOLS
PopupRequest
final :
public
impl::PopupRequest_Base
25
{
26
public
:
27
explicit
PopupRequest
();
28
virtual
~PopupRequest
()
override
;
29
30
css::uno::Reference<css::awt::XCallback>
const
&
getCallback
()
const
{
return
m_xCallback; }
31
32
// ____ XRequestCallback ____
33
virtual
void
SAL_CALL addCallback(
const
css::uno::Reference<::css::awt::XCallback>& xCallback,
34
const
css::uno::Any& aData)
override
;
35
36
private
:
37
css::uno::Reference<css::awt::XCallback>
m_xCallback
;
38
};
39
40
}
// namespace chart
41
42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
charttoolsdllapi.hxx
OOO_DLLPUBLIC_CHARTTOOLS
#define OOO_DLLPUBLIC_CHARTTOOLS
Definition:
charttoolsdllapi.hxx:29
chart::PopupRequest
Definition:
PopupRequest.hxx:25
chart::PopupRequest::m_xCallback
css::uno::Reference< css::awt::XCallback > m_xCallback
Definition:
PopupRequest.hxx:37
chart::PopupRequest::getCallback
css::uno::Reference< css::awt::XCallback > const & getCallback() const
Definition:
PopupRequest.hxx:30
comphelper::WeakComponentImplHelper
compbase.hxx
chart::impl::PopupRequest_Base
comphelper::WeakComponentImplHelper< css::awt::XRequestCallback > PopupRequest_Base
Definition:
PopupRequest.hxx:21
chart
Definition:
AccessibleBase.cxx:63
impl
Generated on Sun Jul 30 2023 04:39:33 for LibreOffice Module chart2 (master) by
1.9.3