diff options
Diffstat (limited to 'sw/source/core/inc/ThemeColorChanger.hxx')
-rw-r--r-- | sw/source/core/inc/ThemeColorChanger.hxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sw/source/core/inc/ThemeColorChanger.hxx b/sw/source/core/inc/ThemeColorChanger.hxx new file mode 100644 index 000000000000..d4ba7a9fcad5 --- /dev/null +++ b/sw/source/core/inc/ThemeColorChanger.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + */ +#pragma once + +#include <docsh.hxx> +#include <svx/ColorSets.hxx> +#include <svx/theme/IThemeColorChanger.hxx> + +namespace sw +{ +class ThemeColorChanger : public svx::IThemeColorChanger +{ +private: + SwDocShell* mpDocSh; + +public: + ThemeColorChanger(SwDocShell* pDocSh) + : mpDocSh(pDocSh) + { + } + + virtual ~ThemeColorChanger() override; + + void apply(svx::ColorSet const& rColorSet) override; +}; + +} // end sw namespace + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |