| 1 | // Copyright (C) 2021 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | // this file was generated by the generate.ts script |
| 5 | |
| 6 | #ifndef QLSPNOTIFYSIGNALS_P_H |
| 7 | #define QLSPNOTIFYSIGNALS_P_H |
| 8 | |
| 9 | // |
| 10 | // W A R N I N G |
| 11 | // ------------- |
| 12 | // |
| 13 | // This file is not part of the Qt API. It exists purely as an |
| 14 | // implementation detail. This header file may change from version to |
| 15 | // version without notice, or even be removed. |
| 16 | // |
| 17 | // We mean it. |
| 18 | // |
| 19 | |
| 20 | #include <QtLanguageServer/private/qlanguageserverprotocol_p.h> |
| 21 | |
| 22 | QT_BEGIN_NAMESPACE |
| 23 | |
| 24 | class Q_LANGUAGESERVER_EXPORT QLspNotifySignals : public QObject |
| 25 | { |
| 26 | Q_OBJECT |
| 27 | public: |
| 28 | QLspNotifySignals(QObject *parent = nullptr) : QObject(parent) { } |
| 29 | void registerHandlers(QLanguageServerProtocol *protocol); |
| 30 | signals: |
| 31 | void receivedCancelNotification(const QLspSpecification::Notifications::CancelParamsType &); |
| 32 | void receivedInitializedNotification( |
| 33 | const QLspSpecification::Notifications::InitializedParamsType &); |
| 34 | void receivedExitNotification(const QLspSpecification::Notifications::ExitParamsType &); |
| 35 | void receivedLogTraceNotification(const QLspSpecification::Notifications::LogTraceParamsType &); |
| 36 | void receivedSetTraceNotification(const QLspSpecification::Notifications::SetTraceParamsType &); |
| 37 | void receivedShowMessageNotification( |
| 38 | const QLspSpecification::Notifications::ShowMessageParamsType &); |
| 39 | void |
| 40 | receivedLogMessageNotification(const QLspSpecification::Notifications::LogMessageParamsType &); |
| 41 | void receivedWorkDoneProgressCancelNotification( |
| 42 | const QLspSpecification::Notifications::WorkDoneProgressCancelParamsType &); |
| 43 | void receivedTelemetryEventNotification( |
| 44 | const QLspSpecification::Notifications::TelemetryEventParamsType &); |
| 45 | void receivedDidChangeWorkspaceFoldersNotification( |
| 46 | const QLspSpecification::Notifications::DidChangeWorkspaceFoldersParamsType &); |
| 47 | void receivedDidChangeConfigurationNotification( |
| 48 | const QLspSpecification::Notifications::DidChangeConfigurationParamsType &); |
| 49 | void receivedDidChangeWatchedFilesNotification( |
| 50 | const QLspSpecification::Notifications::DidChangeWatchedFilesParamsType &); |
| 51 | void receivedCreateFilesNotification( |
| 52 | const QLspSpecification::Notifications::CreateFilesParamsType &); |
| 53 | void receivedRenameFilesNotification( |
| 54 | const QLspSpecification::Notifications::RenameFilesParamsType &); |
| 55 | void receivedDeleteFilesNotification( |
| 56 | const QLspSpecification::Notifications::DeleteFilesParamsType &); |
| 57 | void receivedDidOpenTextDocumentNotification( |
| 58 | const QLspSpecification::Notifications::DidOpenTextDocumentParamsType &); |
| 59 | void receivedDidChangeTextDocumentNotification( |
| 60 | const QLspSpecification::Notifications::DidChangeTextDocumentParamsType &); |
| 61 | void receivedWillSaveTextDocumentNotification( |
| 62 | const QLspSpecification::Notifications::WillSaveTextDocumentParamsType &); |
| 63 | void receivedDidSaveTextDocumentNotification( |
| 64 | const QLspSpecification::Notifications::DidSaveTextDocumentParamsType &); |
| 65 | void receivedDidCloseTextDocumentNotification( |
| 66 | const QLspSpecification::Notifications::DidCloseTextDocumentParamsType &); |
| 67 | void receivedPublishDiagnosticsNotification( |
| 68 | const QLspSpecification::Notifications::PublishDiagnosticsParamsType &); |
| 69 | }; |
| 70 | |
| 71 | QT_END_NAMESPACE |
| 72 | |
| 73 | #endif // QLSPNOTIFYSIGNALS_P_H |
| 74 | |