| 353 | } |
| 354 | |
| 355 | static void device_message_refresh(ConsoleServer &cs, u32 client_id, const char *json, void *user_data) |
| 356 | { |
| 357 | CE_UNUSED_2(cs, client_id); |
| 358 | ((Device *)user_data)->refresh(json); |
| 359 | |
| 360 | TempAllocator512 ta; |
| 361 | StringStream ss(ta); |
| 362 | ss << "{"; |
| 363 | ss << "\"type\":\"refresh\","; |
| 364 | ss << "\"success\":" << (true ? "true" : "false"); |
| 365 | ss << "}"; |
| 366 | |
| 367 | cs.send(client_id, string_stream::c_str(ss)); |
| 368 | } |
| 369 | |
| 370 | RenderSettings merged_render_settings(const Device *device) |
| 371 | { |