C
Qt Safe Monitor: Qt Quick Ultralite Example on Bare-Metal Traveo II
// Copyright (C) 2025 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial #include "DemoStatus.h" extern "C" { void qul_application_set_speed(SafeRenderer::qint speed) { DemoStatus::instance().speed.setValue(speed); } void qul_application_set_safe_beams_state(bool state) { DemoStatus::instance().beamsStateChange(state); } void qul_application_set_safe_engine_state(bool state) { DemoStatus::instance().engineStateChange(state); } void qul_application_set_safe_battery_state(bool state) { DemoStatus::instance().batteryStateChange(state); } void qul_application_set_safe_oil_state(bool state) { DemoStatus::instance().oilStateChange(state); } void qul_application_set_screen_failure_state(bool state) { DemoStatus::instance().screenFailureStateChange(state); } void qul_application_send_value_change_event() { DemoStatus::instance().postEvent(true); } }