aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/eolian_mono/eolian/mono/blacklist.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-12-14 18:17:23 -0200
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2018-12-14 18:30:59 -0200
commita83c3cdba446c42d42b22b314ed6f91351e5234d (patch)
tree5e33da910696f07626d0de2fd1977306ed6c42d6 /src/bin/eolian_mono/eolian/mono/blacklist.hh
parentefl_ui_win: Don't allow the frame object to change size before first draw (diff)
downloadefl-a83c3cdba446c42d42b22b314ed6f91351e5234d.tar.gz
eolian_mono: Add support for C# style properties
Summary: Syntatic sugar around the Get/Set functions for now. Test Plan: Run efl-mono-suite Reviewers: vitor.sousa, segfaultxavi, felipealmeida, Jaehyun_Cho Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D7394
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/blacklist.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/blacklist.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/blacklist.hh b/src/bin/eolian_mono/eolian/mono/blacklist.hh
index 99ec12e91d..646452e57c 100644
--- a/src/bin/eolian_mono/eolian/mono/blacklist.hh
+++ b/src/bin/eolian_mono/eolian/mono/blacklist.hh
@@ -15,9 +15,6 @@ inline bool is_function_blacklisted(std::string const& c_name)
return
c_name == "efl_event_callback_array_priority_add"
|| c_name == "efl_player_position_get"
- || c_name == "efl_text_font_source_get"
- || c_name == "efl_text_font_source_set"
- || c_name == "efl_ui_focus_manager_focus_get"
|| c_name == "efl_ui_widget_focus_set"
|| c_name == "efl_ui_widget_focus_get"
|| c_name == "efl_ui_text_password_get"
@@ -25,8 +22,6 @@ inline bool is_function_blacklisted(std::string const& c_name)
|| c_name == "elm_interface_scrollable_repeat_events_get"
|| c_name == "elm_interface_scrollable_repeat_events_set"
|| c_name == "elm_wdg_item_del"
- || c_name == "elm_wdg_item_focus_get"
- || c_name == "elm_wdg_item_focus_set"
|| c_name == "elm_interface_scrollable_mirrored_set"
|| c_name == "evas_obj_table_mirrored_get"
|| c_name == "evas_obj_table_mirrored_set"
@@ -82,6 +77,14 @@ inline bool is_alias_blacklisted(attributes::alias_def const& alias)
return name_helpers::alias_full_eolian_name(alias) == "Eina.Error";
}
+inline bool is_property_blacklisted(attributes::property_def const& property)
+{
+ auto name = name_helpers::klass_full_concrete_or_interface_name(property.klass) + "." + name_helpers::property_managed_name(property);
+ return name == "Efl.Input.Key.Key"
+ || name == "Efl.Input.Hold.Hold"
+ || name == "Efl.Text.Text";
+}
+
}
}