File indexing completed on 2025-01-05 05:23:37

0001 /*
0002     This file is part of the Okteta Kasten module, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef KASTEN_SELECTRANGECONTROLLERFACTORY_HPP
0010 #define KASTEN_SELECTRANGECONTROLLERFACTORY_HPP
0011 
0012 // lib
0013 #include "oktetakastencontrollers_export.hpp"
0014 // Kasten core
0015 #include <Kasten/AbstractXmlGuiControllerFactory>
0016 
0017 namespace Kasten {
0018 
0019 namespace If {
0020 class ToolInlineViewable;
0021 }
0022 
0023 class OKTETAKASTENCONTROLLERS_EXPORT SelectRangeControllerFactory : public AbstractXmlGuiControllerFactory
0024 {
0025 public:
0026     explicit SelectRangeControllerFactory(If::ToolInlineViewable* toolInlineViewable);
0027     SelectRangeControllerFactory(const SelectRangeControllerFactory&) = delete;
0028 
0029     ~SelectRangeControllerFactory() override;
0030 
0031     SelectRangeControllerFactory& operator=(const SelectRangeControllerFactory&) = delete;
0032 
0033 public: // AbstractXmlGuiControllerFactory API
0034     AbstractXmlGuiController* create(KXMLGUIClient* guiClient) const override;
0035 
0036 private:
0037     If::ToolInlineViewable* const m_toolInlineViewable;
0038 };
0039 
0040 }
0041 
0042 #endif