5#include <QtCore/QString>
11 if (
auto *
const app =
qgcApp()) {
12 app->showAppMessage(message, title);
18 if (
auto *
const app =
qgcApp()) {
19 app->showCriticalVehicleMessage(message);
25 if (
auto *
const app =
qgcApp()) {
26 app->showRebootAppMessage(message, title);
32 if (
auto *
const app =
qgcApp()) {
33 app->showRebootVehicleMessage(message, title);
39 auto *
const app =
qgcApp();
40 return app && app->runningUnitTests();
void showRebootVehicleMessage(const QString &message, const QString &title)
Modal vehicle-reboot-required message with a reboot button. Debounced within 2 minutes.
void showRebootAppMessage(const QString &message, const QString &title)
Modal reboot-required message. Debounced within 2 minutes.
void showCriticalVehicleMessage(const QString &message)
void showAppMessage(const QString &message, const QString &title)
Modal application message. Queued if the UI isn't ready yet.