From 7f0a03d90e2d13632d22eb43447f553a695ddd9c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 26 Nov 2024 18:23:39 +0100 Subject: Add mgl_is_connected_to_display_server and mgl_ping_display_server to keep status of connection --- include/mglpp/mglpp.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/mglpp/mglpp.hpp b/include/mglpp/mglpp.hpp index dacd134..2e49da5 100644 --- a/include/mglpp/mglpp.hpp +++ b/include/mglpp/mglpp.hpp @@ -16,6 +16,9 @@ namespace mgl { // Throws InitException on failure Init(); ~Init(); + + bool is_connected_to_display_server(); + void ping_display_server(); }; } -- cgit v1.2.3