Clang: Cleanup interface hierarchy

The server and client interfaces was tightly coupled.So it prevented
the introduction of immediate interfaces.

Change-Id: Ie4197ffddb862e076d080b3d2a5ee869fad9e4d0
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Marco Bubke
2017-08-24 15:22:37 +02:00
parent 6c5146ac67
commit b725018e9e
10 changed files with 74 additions and 29 deletions

View File

@@ -30,6 +30,7 @@
#include <refactoringserverinterface.h>
#include <QTimer>
#include <ipcclientprovider.h>
#include <stringcache.h>
#include <utils/smallstring.h>
@@ -46,7 +47,8 @@ namespace V2 {
class FileContainer;
}
class RefactoringServer : public RefactoringServerInterface
class RefactoringServer : public RefactoringServerInterface,
public IpcClientProvider<RefactoringClientInterface>
{
using Future = std::future<SourceRangesForQueryMessage>;
public: