Simplify using designated initializers
[LibreOffice.git] / include / sfx2 / sidebar / SidebarModelUpdate.hxx
blob83533a5469a0a5eb8361f06b72f7ec983bf122b4
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 <sfx2/dllapi.h>
15 namespace com::sun::star::frame
17 class XModel;
19 namespace com::sun::star::uno
21 template <typename> class Reference;
24 namespace sfx2::sidebar
26 class UNLESS_MERGELIBS(SFX2_DLLPUBLIC) SAL_LOPLUGIN_ANNOTATE("crosscast") SidebarModelUpdate
28 public:
29 virtual ~SidebarModelUpdate();
30 virtual void updateModel(css::uno::Reference<css::frame::XModel> xModel) = 0;
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */