diff options
author | Marco Bubke <[email protected]> | 2016-08-17 15:29:37 +0200 |
---|---|---|
committer | Marco Bubke <[email protected]> | 2017-11-28 15:08:58 +0000 |
commit | f70bf3d2d16be3f4a7812bd0352da70fb7e0fa3b (patch) | |
tree | b22b54b5208093bed790f2b8b9d3728a7389b2f4 /src/plugins/clangpchmanager/pchmanagerconnectionclient.h | |
parent | 45c667d52cffdd4bfd01f89e9794aef6f5f7298b (diff) |
Clang: Move QLocalServer in ConnectionClient
Before the QLocalServer was in the ConnectionServer so more than one
client could connect to the server. But we never used that possibility
which made the hand shaking much more difficult. It is now moved
in the client, so that there is always a QLocalServer.
Change-Id: Ifa357074b0c0809434c49d23b1cee38496f72f43
Reviewed-by: Ivan Donchevskii <[email protected]>
Reviewed-by: Nikolai Kosjar <[email protected]>
Diffstat (limited to 'src/plugins/clangpchmanager/pchmanagerconnectionclient.h')
-rw-r--r-- | src/plugins/clangpchmanager/pchmanagerconnectionclient.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/clangpchmanager/pchmanagerconnectionclient.h b/src/plugins/clangpchmanager/pchmanagerconnectionclient.h index 72c04965e91..1566b08f47c 100644 --- a/src/plugins/clangpchmanager/pchmanagerconnectionclient.h +++ b/src/plugins/clangpchmanager/pchmanagerconnectionclient.h @@ -34,17 +34,18 @@ class PchManagerConnectionClient : public ClangBackEnd::ConnectionClient { public: PchManagerConnectionClient(ClangBackEnd::PchManagerClientInterface *client); + ~PchManagerConnectionClient(); ClangBackEnd::PchManagerServerProxy &serverProxy(); protected: void sendEndCommand() override; void resetCounter() override; - QString connectionName() const override; QString outputName() const override; + void newConnectedServer(QIODevice *ioDevice) override; private: - ClangBackEnd::PchManagerServerProxy serverProxy_; + ClangBackEnd::PchManagerServerProxy m_serverProxy; }; } // namespace ClangPchManager |