| 127 | } |
| 128 | |
| 129 | static CommandResponse makeSuccess(const QString& id, const QJsonObject& result = QJsonObject()) |
| 130 | { |
| 131 | CommandResponse resp; |
| 132 | resp.id = id; |
| 133 | resp.success = true; |
| 134 | resp.result = result; |
| 135 | return resp; |
| 136 | } |
| 137 | |
| 138 | static CommandResponse makeError(const QString& id, |
| 139 | const QString& code, |
nothing calls this directly
no test coverage detected