forked from qt-creator/qt-creator
LanguageClient: move current settings to manager
In preparation to have relationship between clients, settings and project to one another in the manager. Change-Id: I00ae15abe03c54b4a58e429d67d6ff939662cce6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -69,6 +69,9 @@ public:
|
||||
|
||||
static QList<Client *> clientsSupportingDocument(const TextEditor::TextDocument *doc);
|
||||
|
||||
static void applySettings();
|
||||
static QList<BaseSettings *> currentSettings();
|
||||
|
||||
signals:
|
||||
void shutdownFinished();
|
||||
|
||||
@@ -94,6 +97,7 @@ private:
|
||||
|
||||
bool m_shuttingDown = false;
|
||||
QVector<Client *> m_clients;
|
||||
QList<BaseSettings *> m_currentSettings; // owned
|
||||
QHash<LanguageServerProtocol::MessageId, QList<Client *>> m_exclusiveRequests;
|
||||
};
|
||||
} // namespace LanguageClient
|
||||
|
||||
Reference in New Issue
Block a user