Clang: Break dependency to visible Core::EditorManager::visibleEditors()

Change-Id: I4157cd190a8c00b07c0e2f3eeeab18409f2405b7
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2016-01-11 11:54:27 +01:00
parent e134dfcad4
commit cc1ed420c2
5 changed files with 26 additions and 0 deletions

View File

@@ -32,6 +32,10 @@
#include <memory>
namespace Core {
class IEditor;
}
namespace CppTools {
class CppEditorDocumentHandle;
class BaseEditorDocumentProcessor;
@@ -47,6 +51,7 @@ public:
static QString projectPartIdForFile(const QString &filePath);
static BaseEditorDocumentProcessor *baseEditorDocumentProcessor(const QString &filePath);
static void finishedRefreshingSourceFiles(const QSet<QString> &filePaths);
static QList<Core::IEditor *> visibleEditors();
private:
static std::unique_ptr<CppToolsBridgeInterface> m_interface;