| 127 | } |
| 128 | |
| 129 | [[nodiscard]] QByteArray Error(const QString &text) { |
| 130 | auto object = QJsonObject(); |
| 131 | object.insert(u"ok"_q, false); |
| 132 | object.insert(u"error"_q, text); |
| 133 | return Pack(object); |
| 134 | } |
| 135 | |
| 136 | [[nodiscard]] std::vector<WindowEntry> CollectWindows() { |
| 137 | auto result = std::vector<WindowEntry>(); |
no test coverage detected