wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ICHandler.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
7
16class ICHandler : public BaseHandler
17{
18public:
19 explicit ICHandler(MainWindow *mainWindow, const MCPValidator *validator);
20
21 QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override;
22
23private:
24 Q_DISABLE_COPY_MOVE(ICHandler)
25
26 QJsonObject handleCreateIC(const QJsonObject &params, const QJsonValue &requestId);
27 QJsonObject handleInstantiateIC(const QJsonObject &params, const QJsonValue &requestId);
28 QJsonObject handleListICs(const QJsonObject &params, const QJsonValue &requestId);
29 QJsonObject handleEmbedIC(const QJsonObject &params, const QJsonValue &requestId);
30 QJsonObject handleExtractIC(const QJsonObject &params, const QJsonValue &requestId);
31};
BaseHandler(MainWindow *mainWindow, const MCPValidator *validator)
ICHandler(MainWindow *mainWindow, const MCPValidator *validator)
Definition ICHandler.cpp:34
QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override
Definition ICHandler.cpp:39
JSON Schema validator for MCP commands and responses using native json-schema-validator.
The top-level application window hosting the tab bar, menus, element palette, and editor.
Definition MainWindow.h:47