From: Marcus Fritzsch Date: Tue, 5 Sep 2017 10:10:12 +0000 (+0200) Subject: App: remove unimplemented (stubbed) binding API methods X-Git-Tag: 4.99.1~133 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=commitdiff_plain;h=182aa777f3ef9a2e82d2436a222dfe7dc9f79178 App: remove unimplemented (stubbed) binding API methods Signed-off-by: Marcus Fritzsch --- diff --git a/generate-binding-glue.py b/generate-binding-glue.py index 3fd0828..7e003a5 100644 --- a/generate-binding-glue.py +++ b/generate-binding-glue.py @@ -127,12 +127,6 @@ API = { ], }, { 'name': 'list_drawing_names', }, - { - 'name': 'demo_activate_surface', - 'args': [ { 'name': 'surfaceid', 'type': 'uint32_t', 'jtype': 'int' } ] - }, - - { 'name': 'demo_activate_all' }, { 'name': 'debug_status', }, { 'name': 'debug_layers', }, diff --git a/src/app.cpp b/src/app.cpp index e4a4c4d..a59adba 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -431,16 +431,12 @@ char const *App::deactivate_surface(char const *drawing_name) { // | .__/|_| \___/_/\_\_|\___|\__,_| |_____| \_/ \___|_| |_|\__|___/ // |_| void App::surface_created(uint32_t surface_id) { - //surface_id >>= id_allocator::id_shift; - logdebug("surface_id is %u", surface_id); this->surface_init_layout(surface_id); } void App::surface_removed(uint32_t surface_id) { - //surface_id >>= id_allocator::id_shift; - logdebug("surface_id is %u", surface_id); this->id_alloc.remove_id(surface_id); @@ -575,14 +571,6 @@ binding_api::result_type binding_api::debug_terminate() { return Ok(json_object_new_object()); } -binding_api::result_type binding_api::demo_activate_surface(uint32_t s) { - return Err("not implemented"); -} - -binding_api::result_type binding_api::demo_activate_all() { - return Err("not implemented"); -} - // _ _ _ _ _ // ___ ___ _ __ | |_ _ __ ___ | | | ___ _ __ | |__ ___ ___ | | _____ // / __/ _ \| '_ \| __| '__/ _ \| | |/ _ \ '__|| '_ \ / _ \ / _ \| |/ / __|