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

@@ -27,6 +27,8 @@
#include "cpptoolsbridgeinterface.h"
#include <QList>
namespace CppTools {
std::unique_ptr<CppToolsBridgeInterface> CppToolsBridge::m_interface;
@@ -56,4 +58,9 @@ void CppToolsBridge::finishedRefreshingSourceFiles(const QSet<QString> &filePath
m_interface->finishedRefreshingSourceFiles(filePaths);
}
QList<Core::IEditor *> CppToolsBridge::visibleEditors()
{
return m_interface->visibleEditors();
}
} // namespace CppTools