KTextEditor

completionrecorder.h
1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATEVI_COMPLETIONRECORDER_H
8#define KATEVI_COMPLETIONRECORDER_H
9
10#include "completion.h"
11
12namespace KateVi
13{
14class InputModeManager;
15
16class CompletionRecorder
17{
18public:
19 explicit CompletionRecorder(InputModeManager *viInputModeManager);
20 ~CompletionRecorder();
21
22 void logCompletionEvent(const Completion &completion);
23
24 void start();
25 CompletionList stop();
26
27 CompletionList currentChangeCompletionsLog();
28 void clearCurrentChangeCompletionsLog();
29
30private:
31 InputModeManager *m_viInputModeManager;
32
33 CompletionList m_currentMacroCompletionsLog;
34 CompletionList m_currentChangeCompletionsLog;
35};
36
37}
38
39#endif // KATEVI_COMPLETIONRECORDER_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.