tdf#161411 - UI: Add Better wording for ASCII-only characters
[LibreOffice.git] / include / svx / theme / IThemeColorChanger.hxx
blob035494f12324a940f26db6a3ebf6632a590b074a
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 <svx/svxdllapi.h>
13 #include <docmodel/theme/ColorSet.hxx>
14 #include "ThemeColorChangerCommon.hxx"
16 namespace svx
18 class SVXCORE_DLLPUBLIC IThemeColorChanger
20 public:
21 virtual ~IThemeColorChanger() = default;
22 void apply(std::shared_ptr<model::ColorSet> const& pColorSet)
24 doApply(pColorSet);
25 svx::theme::notifyLOK(pColorSet, std::set<Color>());
28 private:
29 virtual void doApply(std::shared_ptr<model::ColorSet> const& pColorSet) = 0;
32 } // end svx namespace
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */