forked from qt-creator/qt-creator
Refactored the quickfix engine.
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
|
||||
inline Core::ICore *core() const { return m_core; }
|
||||
|
||||
bool isCppEditor(Core::IEditor *editor) const; // ### private
|
||||
virtual bool isCppEditor(Core::IEditor *editor) const;
|
||||
|
||||
CppEditorSupport *editorSupport(TextEditor::ITextEditor *editor) const
|
||||
{ return m_editorSupport.value(editor); }
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QFuture>
|
||||
|
||||
namespace Core {
|
||||
class IEditor;
|
||||
}
|
||||
|
||||
namespace CPlusPlus {
|
||||
class LookupContext;
|
||||
}
|
||||
@@ -110,6 +114,8 @@ public:
|
||||
|
||||
static CppModelManagerInterface *instance();
|
||||
|
||||
virtual bool isCppEditor(Core::IEditor *editor) const = 0;
|
||||
|
||||
virtual WorkingCopy workingCopy() const = 0;
|
||||
virtual CPlusPlus::Snapshot snapshot() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user