forked from qt-creator/qt-creator
Clang: Rename Ipc* in ClangCodeModel*
We want to share more functionality of the IPC mechanism and for what we need more interface classes. But we use this names already for the ClangCodeModel implementation. So we rename the them to ClangCodeModel*. Change-Id: Ie320e0d3b993586a9bcc6a5aa0d32427af41202e Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ipcserverproxy.h"
|
||||
#include "clangcodemodelserverproxy.h"
|
||||
#include "lineprefixer.h"
|
||||
|
||||
#include <QLocalSocket>
|
||||
@@ -49,7 +49,7 @@ class CMBIPC_EXPORT ConnectionClient : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ConnectionClient(IpcClientInterface *client);
|
||||
ConnectionClient(ClangCodeModelClientInterface *client);
|
||||
~ConnectionClient();
|
||||
|
||||
bool connectToServer();
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
bool waitForEcho();
|
||||
|
||||
IpcServerProxy &serverProxy();
|
||||
ClangCodeModelServerProxy &serverProxy();
|
||||
|
||||
QProcess *processForTestOnly() const;
|
||||
|
||||
@@ -100,7 +100,7 @@ private:
|
||||
private:
|
||||
mutable std::unique_ptr<QProcess> process_;
|
||||
QLocalSocket localSocket;
|
||||
IpcServerProxy serverProxy_;
|
||||
ClangCodeModelServerProxy serverProxy_;
|
||||
QTimer processAliveTimer;
|
||||
QString processPath_;
|
||||
bool isAliveTimerResetted;
|
||||
|
||||
Reference in New Issue
Block a user