Krita Source Code Documentation
Loading...
Searching...
No Matches
KisPlatformPluginInterfaceFactory.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISPLATFORMPLUGININTERFACEFACTORY_H
8#define KISPLATFORMPLUGININTERFACEFACTORY_H
9
10#include <kritaui_export.h>
11
12#include <config-use-surface-color-management-api.h>
13
14class QString;
15class QWidget;
16class QWindow;
17
20
21#if KRITA_USE_SURFACE_COLOR_MANAGEMENT_API
23#endif /* KRITA_USE_SURFACE_COLOR_MANAGEMENT_API */
24
26public:
28
30
31#if KRITA_USE_SURFACE_COLOR_MANAGEMENT_API
37 KisSurfaceColorManagerInterface *createSurfaceColorManager(QWindow *nativeWindow);
38#endif /* KRITA_USE_SURFACE_COLOR_MANAGEMENT_API */
39
46 bool surfaceColorManagedByOS();
47
53 QString colorManagementReport(QWidget *widget);
54
60 QString osPreferredColorSpaceReport(QWidget *widget);
61
67 KisExtendedModifiersMapperPluginInterface* createExtendedModifiersMapper();
68
69private:
70 bool m_surfaceColorManagedByOS {false};
71};
72
73#endif // KISPLATFORMPLUGININTERFACEFACTORY_H
PythonPluginManager * instance