forked from qt-creator/qt-creator
LanguageClient: improve Server startup
Starting a client does not need to be done via LanguageClientManager::startClient anymore but can be done via Client::start() Change-Id: I571e96b6ad7d64786a345edf5dbb38208b9a1d12 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -58,7 +58,8 @@ public:
|
||||
|
||||
static void init();
|
||||
|
||||
static void startClient(Client *client);
|
||||
static void clientStarted(Client *client);
|
||||
static void clientFinished(Client *client);
|
||||
static Client *startClient(BaseSettings *setting, ProjectExplorer::Project *project = nullptr);
|
||||
static QVector<Client *> clients();
|
||||
|
||||
@@ -114,8 +115,6 @@ private:
|
||||
|
||||
QVector<Client *> reachableClients();
|
||||
|
||||
void clientFinished(Client *client);
|
||||
|
||||
bool m_shuttingDown = false;
|
||||
QVector<Client *> m_clients;
|
||||
QList<BaseSettings *> m_currentSettings; // owned
|
||||
|
||||
Reference in New Issue
Block a user