2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2021-02-11 15:21:23 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <languageclient/languageclientsettings.h>
|
|
|
|
|
|
|
|
|
|
namespace Android {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class JLSSettings final : public LanguageClient::StdIOSettings
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
JLSSettings();
|
|
|
|
|
|
|
|
|
|
bool applyFromSettingsWidget(QWidget *widget) final;
|
|
|
|
|
QWidget *createSettingsWidget(QWidget *parent) const final;
|
|
|
|
|
bool isValid() const final;
|
2023-08-23 16:11:48 +02:00
|
|
|
Utils::Storage toMap() const final;
|
|
|
|
|
void fromMap(const Utils::Storage &map) final;
|
2021-02-11 15:21:23 +01:00
|
|
|
LanguageClient::BaseSettings *copy() const final;
|
2021-02-12 14:05:10 +01:00
|
|
|
LanguageClient::Client *createClient(LanguageClient::BaseClientInterface *interface) const final;
|
2022-06-03 13:50:31 +02:00
|
|
|
LanguageClient::BaseClientInterface *createInterface(
|
|
|
|
|
ProjectExplorer::Project *project) const final;
|
2021-02-11 15:21:23 +01:00
|
|
|
|
2021-09-27 11:13:56 +02:00
|
|
|
Utils::FilePath m_languageServer;
|
2021-02-11 15:21:23 +01:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
JLSSettings(const JLSSettings &other) = default;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Android
|