LibreOffice Module sfx2 (master) 1
SidebarModelUpdate.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 <sfx2/dllapi.h>
13
15{
16class XModel;
17}
18namespace com::sun::star::uno
19{
20template <typename> class Reference;
21}
22
23namespace sfx2::sidebar
24{
25class SFX2_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") SidebarModelUpdate
26{
27public:
28 virtual ~SidebarModelUpdate();
29 virtual void updateModel(css::uno::Reference<css::frame::XModel> xModel) = 0;
30};
31}
32
33/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define SFX2_DLLPUBLIC
Definition: dllapi.h:29
Reference
class SFX2_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") IContextChangeReceiver