blob: ca0845d2ca07ea988a84e34e78501db674e08976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "../include/mglpp/mglpp.hpp"
extern "C" {
#include <mgl/mgl.h>
}
namespace mgl {
Init::Init() {
if(mgl_init() != 0)
throw InitException();
}
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();
}
}
|