Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
939 B
Raw Blame
/*
 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KISCURVEOPTIONINPUTCONTROLSSTRATEGYINTERFACE_H
#define KISCURVEOPTIONINPUTCONTROLSSTRATEGYINTERFACE_H

#include <kritapaintop_export.h>
#include <functional>

class KisCurveRangeModelInterface;
class KisCurveWidget;
class QWidget;

class PAINTOP_EXPORT KisCurveOptionInputControlsStrategyInterface
{
public:
    virtual ~KisCurveOptionInputControlsStrategyInterface();

    /**
     * erm... yep! no public interface! :)
     */
};

using KisCurveOptionInputControlsStrategyFactory =
    std::function<
        KisCurveOptionInputControlsStrategyInterface* (
            KisCurveRangeModelInterface* /*rangeInterface*/,
            KisCurveWidget* /*curveWidget*/,
            QWidget* /*inPlaceholder*/,
            QWidget* /*outPlaceholder*/)>;

#endif // KISCURVEOPTIONINPUTCONTROLSSTRATEGYINTERFACE_H