LanguageClient: add a human readable version of client state

Change-Id: I650e4b4932f32ad86505e9be2fc85eef6bcd6edd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
David Schulz
2021-11-01 07:20:40 +01:00
parent a64912dad8
commit 33cfb7ebfc
2 changed files with 14 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ public:
Error
};
State state() const;
QString stateString() const;
bool reachable() const { return m_state == Initialized; }
// capabilities