summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/ModelManagerInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/ModelManagerInterface.h')
-rw-r--r--src/libs/cplusplus/ModelManagerInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/cplusplus/ModelManagerInterface.h b/src/libs/cplusplus/ModelManagerInterface.h
index 4397a82526..564bbfae8c 100644
--- a/src/libs/cplusplus/ModelManagerInterface.h
+++ b/src/libs/cplusplus/ModelManagerInterface.h
@@ -55,6 +55,8 @@ namespace ProjectExplorer {
namespace CppTools {
class AbstractEditorSupport;
+ class CppCompletionSupport;
+ class CppHighlightingSupport;
}
namespace CPlusPlus {
@@ -151,6 +153,9 @@ public:
virtual QList<CPlusPlus::Document::DiagnosticMessage> extraDiagnostics(
const QString &fileName, int key = AllExtraDiagnostics) const = 0;
+ virtual CppTools::CppCompletionSupport *completionSupport(Core::IEditor *editor) const = 0;
+ virtual CppTools::CppHighlightingSupport *highlightingSupport(Core::IEditor *editor) const = 0;
+
Q_SIGNALS:
void documentUpdated(CPlusPlus::Document::Ptr doc);
void sourceFilesRefreshed(const QStringList &files);