diff options
Diffstat (limited to 'src/qlibwindowmanager.cpp')
-rw-r--r-- | src/qlibwindowmanager.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/qlibwindowmanager.cpp b/src/qlibwindowmanager.cpp index bc313e5..79d7f79 100644 --- a/src/qlibwindowmanager.cpp +++ b/src/qlibwindowmanager.cpp @@ -82,7 +82,21 @@ int QLibWindowmanager::endDraw(const QString &label) { string clabel = label.toStdString(); json_object_object_add(obj, wm->kKeyDrawingName, json_object_new_string(clabel.c_str())); return this->wm->endDraw(obj); - } +} + +int QLibWindowmanager::getDisplayInfo(json_object *out) { + return this->wm->getDisplayInfo(out); +} + +int QLibWindowmanager::getAreaInfo(const QString &label, json_object *out) { + string clabel = label.toStdString(); + return this->wm->getAreaInfo(clabel.c_str(), out); +} + +int QLibWindowmanager::getCarInfo(const QString &label, json_object *out) { + string clabel = label.toStdString(); + return this->wm->getCarInfo(clabel.c_str(), out); +} void QLibWindowmanager::set_event_handler(enum QEventType et, handler_fun f) { |