forked from qt-creator/qt-creator
Clang: Decouple ConnectionClient and ClangCodeModel*
We want to reuse the connection client in other plugins. This is the first step, the next step is refactoring the IPC mechanismn and move it up to the IpcServer- and IpcClientInterface. Change-Id: I6eb6db1e9bc18232c8df350a6303afd2edc68da8 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <cpptools/projectpart.h>
|
||||
|
||||
#include <clangbackendipc/connectionclient.h>
|
||||
#include <clangbackendipc/clangcodemodelconnectionclient.h>
|
||||
#include <clangbackendipc/filecontainer.h>
|
||||
#include <clangbackendipc/clangcodemodelclientinterface.h>
|
||||
#include <clangbackendipc/projectpartcontainer.h>
|
||||
@@ -177,7 +177,7 @@ private:
|
||||
|
||||
private:
|
||||
IpcReceiver m_ipcReceiver;
|
||||
ClangBackEnd::ConnectionClient m_connection;
|
||||
ClangBackEnd::ClangCodeModelConnectionClient m_connection;
|
||||
QScopedPointer<IpcSenderInterface> m_ipcSender;
|
||||
int m_connectedCount = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user