blob: 82370bf5e5f8ac2269199f2ecd2e353559c229dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <texteditor/texteditor_global.h>
#include <QSharedPointer>
QT_FORWARD_DECLARE_CLASS(QString)
namespace TextEditor {
class TEXTEDITOR_EXPORT IAssistProposalModel
{
public:
IAssistProposalModel();
virtual ~IAssistProposalModel();
virtual void reset() = 0;
virtual int size() const = 0;
virtual QString text(int index) const = 0;
};
using ProposalModelPtr = QSharedPointer<IAssistProposalModel>;
} // TextEditor
|