File indexing completed on 2024-06-23 04:27:49

0001 /*
0002  * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef KISCURVEOPTIONRANGECONTROLSSTRATEGYINTERFACE_H
0008 #define KISCURVEOPTIONRANGECONTROLSSTRATEGYINTERFACE_H
0009 
0010 #include <kritapaintop_export.h>
0011 #include <functional>
0012 
0013 class KisCurveRangeModelInterface;
0014 class QWidget;
0015 
0016 class PAINTOP_EXPORT KisCurveOptionRangeControlsStrategyInterface
0017 {
0018 public:
0019     virtual ~KisCurveOptionRangeControlsStrategyInterface();
0020 
0021     /**
0022      * erm... yep! no public interface! :)
0023      */
0024 };
0025 
0026 using KisCurveOptionRangeControlsStrategyFactory =
0027     std::function<
0028         KisCurveOptionRangeControlsStrategyInterface* (
0029             KisCurveRangeModelInterface* /*rangeInterface*/,
0030             QWidget* /*rangeControlsPlaceholder*/)>;
0031 
0032 #endif // KISCURVEOPTIONRANGECONTROLSSTRATEGYINTERFACE_H