1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATE_ABSTRACT_INPUT_MODE_FACTORY_H
8#define KATE_ABSTRACT_INPUT_MODE_FACTORY_H
9
10class KateAbstractInputMode;
11class KateViewInternal;
12
13class KConfig;
14class KateConfigPage;
15
16#include "ktexteditor/view.h"
17#include <QString>
18class QWidget;
19
20class KateAbstractInputModeFactory
21{
22public:
23 KateAbstractInputModeFactory();
24
25 virtual ~KateAbstractInputModeFactory();
26 virtual KateAbstractInputMode *createInputMode(KateViewInternal *viewInternal) = 0;
27
28 virtual QString name() = 0;
29 virtual KTextEditor::View::InputMode inputMode() = 0;
30
31 virtual KateConfigPage *createConfigPage(QWidget *) = 0;
32};
33
34#endif
35

source code of ktexteditor/src/inputmode/kateabstractinputmodefactory.h