diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-26 18:23:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-26 18:23:39 +0100 |
commit | 7f0a03d90e2d13632d22eb43447f553a695ddd9c (patch) | |
tree | 04d39ebb30a4d19e701d46bc8bc0c801d1378226 /src/mglpp.cpp | |
parent | 9800cff631f1a82ee87005aabdefb3f5da7fadb5 (diff) |
Add mgl_is_connected_to_display_server and mgl_ping_display_server to keep status of connection
Diffstat (limited to 'src/mglpp.cpp')
-rw-r--r-- | src/mglpp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mglpp.cpp b/src/mglpp.cpp index 1719d85..ca0845d 100644 --- a/src/mglpp.cpp +++ b/src/mglpp.cpp @@ -12,4 +12,12 @@ namespace mgl { Init::~Init() { mgl_deinit(); } + + bool Init::is_connected_to_display_server() { + return mgl_is_connected_to_display_server(); + } + + void Init::ping_display_server() { + return mgl_ping_display_server(); + } }
\ No newline at end of file |