diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:27 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:27 +0200 |
commit | 6b648180458e9625e1f700962537c3d4e501f6cc (patch) | |
tree | 75c95e97968bb1cbdf2a635ea2ce74be9ad6f0ac /src | |
parent | a9d482a22be08a004da6acb7efdcbc180018462e (diff) |
binding: add ping() API call
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/afb_binding_api.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afb_binding_api.cpp b/src/afb_binding_api.cpp index d0df3b6..7e6aa89 100644 --- a/src/afb_binding_api.cpp +++ b/src/afb_binding_api.cpp @@ -99,4 +99,9 @@ binding_api::result_type binding_api::debug_terminate() { return Ok(json_object_new_object()); } +binding_api::result_type binding_api::ping() { + this->app->dispatch_events(); + return Ok(json_object_new_object()); +} + } // namespace wm |