forked from qt-creator/qt-creator
CppTools: Get OverviewModel from model manager
Move ownership and add the placeholder for future clang based OverviewModel. Change-Id: Ia44d2c1d0db59b40239d1f7934bf37a02e4b14e6 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include <QSharedPointer>
|
||||
#include <QString>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace TextEditor {
|
||||
class TextDocument;
|
||||
class BaseHoverHandler;
|
||||
@@ -37,6 +39,7 @@ class BaseHoverHandler;
|
||||
|
||||
namespace CppTools {
|
||||
|
||||
class AbstractOverviewModel;
|
||||
class BaseEditorDocumentProcessor;
|
||||
class CppCompletionAssistProvider;
|
||||
class FollowSymbolInterface;
|
||||
@@ -56,6 +59,7 @@ public:
|
||||
TextEditor::TextDocument *baseTextDocument) = 0;
|
||||
virtual FollowSymbolInterface &followSymbolInterface() = 0;
|
||||
virtual RefactoringEngineInterface &refactoringEngineInterface() = 0;
|
||||
virtual std::unique_ptr<AbstractOverviewModel> createOverviewModel() = 0;
|
||||
};
|
||||
|
||||
class CPPTOOLS_EXPORT ModelManagerSupportProvider
|
||||
|
||||
Reference in New Issue
Block a user