LibreOffice Module chart2 (master) 1
ChartSidebarModifyListener.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 <com/sun/star/util/XModifyListener.hpp>
14
15namespace chart::sidebar
16{
18{
19public:
21
22 virtual void updateData() = 0;
23
24 virtual void modelInvalid() = 0;
25};
26
27class ChartSidebarModifyListener : public cppu::WeakImplHelper<css::util::XModifyListener>
28{
29public:
31 virtual ~ChartSidebarModifyListener() override;
32
33 virtual void SAL_CALL modified(const css::lang::EventObject& rEvent) override;
34
35 virtual void SAL_CALL disposing(const css::lang::EventObject& rEvent) override;
36
37private:
39};
40}
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void SAL_CALL disposing(const css::lang::EventObject &rEvent) override
virtual void SAL_CALL modified(const css::lang::EventObject &rEvent) override
ChartSidebarModifyListener(ChartSidebarModifyListenerParent *pParent)