File indexing completed on 2024-05-19 05:31:34

0001 /*
0002     KWin - the KDE window manager
0003     This file is part of the KDE project.
0004 
0005     SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
0006 
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 #pragma once
0010 
0011 #include "kwin_export.h"
0012 
0013 #include <memory>
0014 
0015 typedef struct _cmsStage_struct cmsStage;
0016 
0017 namespace KWin
0018 {
0019 
0020 class KWIN_EXPORT ColorPipelineStage
0021 {
0022 public:
0023     ColorPipelineStage(cmsStage *stage);
0024     ~ColorPipelineStage();
0025 
0026     std::unique_ptr<ColorPipelineStage> dup() const;
0027     cmsStage *stage() const;
0028 
0029 private:
0030     cmsStage *const m_stage;
0031 };
0032 
0033 }