File indexing completed on 2024-12-22 04:10:04
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KISRESETGROUPLAYERCACHECOMMAND_H 0008 #define KISRESETGROUPLAYERCACHECOMMAND_H 0009 0010 #include "kis_types.h" 0011 #include "kis_command_utils.h" 0012 0013 class KoColorSpace; 0014 0015 class KisResetGroupLayerCacheCommand : public KisCommandUtils::FlipFlopCommand 0016 { 0017 public: 0018 KisResetGroupLayerCacheCommand(KisGroupLayerSP layer, const KoColorSpace *dstColorSpace, State state); 0019 0020 void partB() override; 0021 0022 private: 0023 KisGroupLayerSP m_layer; 0024 const KoColorSpace *m_dstColorSpace; 0025 }; 0026 0027 #endif // KISRESETGROUPLAYERCACHECOMMAND_H