aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-26 18:23:39 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-26 18:23:39 +0100
commit7f0a03d90e2d13632d22eb43447f553a695ddd9c (patch)
tree04d39ebb30a4d19e701d46bc8bc0c801d1378226 /include
parent9800cff631f1a82ee87005aabdefb3f5da7fadb5 (diff)
Add mgl_is_connected_to_display_server and mgl_ping_display_server to keep status of connection
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/mglpp.hpp3
1 files changed, 3 insertions, 0 deletions
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();
};
}