forked from qt-creator/qt-creator
CppTools: Add CppModelManager::isManagedById
Change-Id: Ica1a33b2619f64746b8671bff2856503775a40bf Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -42,7 +42,11 @@
|
||||
#include <QObject>
|
||||
#include <QStringList>
|
||||
|
||||
namespace Core { class IEditor; }
|
||||
|
||||
namespace Core {
|
||||
class IDocument;
|
||||
class IEditor;
|
||||
}
|
||||
namespace CPlusPlus { class LookupContext; }
|
||||
namespace ProjectExplorer { class Project; }
|
||||
namespace TextEditor { class TextDocument; }
|
||||
@@ -116,6 +120,7 @@ public:
|
||||
void emitAbstractEditorSupportRemoved(const QString &filePath);
|
||||
|
||||
bool isCppEditor(Core::IEditor *editor) const;
|
||||
bool isManagedByModelManagerSupport(Core::IDocument *document, const QString &id) const;
|
||||
|
||||
QSet<AbstractEditorSupport*> abstractEditorSupports() const;
|
||||
void addExtraEditorSupport(AbstractEditorSupport *editorSupport);
|
||||
|
||||
Reference in New Issue
Block a user