2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2011-02-18 10:36:52 +01:00
|
|
|
|
2016-01-27 10:14:00 +01:00
|
|
|
#pragma once
|
2010-11-08 14:01:50 +01:00
|
|
|
|
2015-02-24 21:57:00 +01:00
|
|
|
#include <texteditor/codeassist/keywordscompletionassist.h>
|
2010-11-08 14:01:50 +01:00
|
|
|
|
2012-09-06 22:38:25 +08:00
|
|
|
namespace CMakeProjectManager {
|
2010-11-08 14:01:50 +01:00
|
|
|
namespace Internal {
|
|
|
|
|
|
2015-02-24 21:57:00 +01:00
|
|
|
class CMakeFileCompletionAssist : public TextEditor::KeywordsCompletionAssistProcessor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CMakeFileCompletionAssist();
|
|
|
|
|
|
|
|
|
|
// IAssistProcessor interface
|
2015-06-03 15:33:18 +02:00
|
|
|
TextEditor::IAssistProposal *perform(const TextEditor::AssistInterface *interface) override;
|
2015-02-24 21:57:00 +01:00
|
|
|
};
|
|
|
|
|
|
2012-09-06 22:38:25 +08:00
|
|
|
class CMakeFileCompletionAssistProvider : public TextEditor::CompletionAssistProvider
|
2010-11-08 14:01:50 +01:00
|
|
|
{
|
2013-08-30 12:55:06 +02:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
2010-11-08 14:01:50 +01:00
|
|
|
public:
|
2021-09-15 07:04:12 +02:00
|
|
|
TextEditor::IAssistProcessor *createProcessor(const TextEditor::AssistInterface *) const override;
|
2010-11-08 14:01:50 +01:00
|
|
|
};
|
|
|
|
|
|
2012-09-06 22:38:25 +08:00
|
|
|
} // Internal
|
|
|
|
|
} // CMakeProjectManager
|