LanguageServerProtocol: remove IContent

Do not pretend to support multiple message types, while no other
messages are actually implemented by us or even known to exist in the
wild.

Change-Id: I49ee2118b2e10f265ac641c195df8a9e5c97951c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
David Schulz
2022-05-12 09:51:39 +02:00
parent 6511bcdd72
commit a493970e05
22 changed files with 170 additions and 251 deletions

View File

@@ -45,13 +45,13 @@ public:
~BaseClientInterface() override;
void sendContent(const LanguageServerProtocol::IContent &content);
void sendMessage(const LanguageServerProtocol::JsonRpcMessage message);
void start() { startImpl(); }
void resetBuffer();
signals:
void contentReceived(const LanguageServerProtocol::JsonRpcMessage message);
void messageReceived(const LanguageServerProtocol::JsonRpcMessage message);
void finished();
void error(const QString &message);
void started();