mono: blacklist functions related to native event

Summary:
`efl_event_callback_forwarder_priority_del`
=> It can be replaced with `obj.XXXEvent -= callback;`.
Furthermore, `efl_event_callback_forwarder_priority_add` is already in blacklist.

`efl_ui_widget_input_event_handler`
=> It can be replaced with `obj.DownEvent`, `obj.UpEvent` and `obj.PointerWhellEvent`.

`efl_access_object_event_handler_add`
`efl_access_object_event_handler_del`
`efl_access_object_event_emit`
=> They are functions to handle global event related to access(E.g. `elm_atspi_bridge`).
It should be generated to `static event` in C#.

Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: lauromoura

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10585
This commit is contained in:
Yeongjong Lee 2019-11-01 16:01:49 -03:00 committed by Lauro Moura
parent bd6876c97e
commit be4f8b253b
1 changed files with 5 additions and 0 deletions

View File

@ -64,7 +64,12 @@ inline bool is_function_blacklisted(std::string const& c_name)
|| c_name == "efl_ui_list_model_size_get"
|| c_name == "efl_ui_list_relayout_layout_do"
|| c_name == "efl_event_callback_forwarder_priority_add" // Depends on constants support.
|| c_name == "efl_event_callback_forwarder_del"
|| c_name == "efl_ui_text_context_menu_item_add"
|| c_name == "efl_ui_widget_input_event_handler"
|| c_name == "efl_access_object_event_handler_add"
|| c_name == "efl_access_object_event_handler_del"
|| c_name == "efl_access_object_event_emit"
;
}