From 0b4e98881f353f119e6017f6091494bae2df42c8 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 4 Jun 2021 12:39:11 +1000 Subject: [PATCH] [host] app: add os_showMessage for Linux Linux doesn't have a generic way to show a dialog box, so we just use DEBUG_INFO to print the message out to the console. --- host/platform/Linux/src/platform.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/host/platform/Linux/src/platform.c b/host/platform/Linux/src/platform.c index 0316339e..b44d2040 100644 --- a/host/platform/Linux/src/platform.c +++ b/host/platform/Linux/src/platform.c @@ -77,3 +77,8 @@ bool os_blockScreensaver() { return false; } + +void os_showMessage(const char * caption, const char * msg) +{ + DEBUG_INFO("%s: %s", caption, msg); +}