summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-05 12:10:12 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-05 12:13:31 +0200
commit182aa777f3ef9a2e82d2436a222dfe7dc9f79178 (patch)
treec3288a401aff956bf1ec5a8beb95fa16dbe1d8b8
parent0f70ea0bb2fc0462c51c459a484010f8946458ff (diff)
App: remove unimplemented (stubbed) binding API methods
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--generate-binding-glue.py6
-rw-r--r--src/app.cpp12
2 files changed, 0 insertions, 18 deletions
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<json_object *>("not implemented");
-}
-
-binding_api::result_type binding_api::demo_activate_all() {
- return Err<json_object *>("not implemented");
-}
-
// _ _ _ _ _
// ___ ___ _ __ | |_ _ __ ___ | | | ___ _ __ | |__ ___ ___ | | _____
// / __/ _ \| '_ \| __| '__/ _ \| | |/ _ \ '__|| '_ \ / _ \ / _ \| |/ / __|