efl-mono: Add support for Efl.Class
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Wed, 6 Feb 2019 19:50:28 +0000 (17:50 -0200)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000 (20:49 +0900)
commit16785eab85e6deb94fc5cd9dbacdccb5e3d68605
treeb1ba4b014101e8e47cac9beaf70174210bad8e50
parent08033ccb24d42efd158d18d440c419ece57236e4
efl-mono: Add support for Efl.Class

Efl.Class (in practice, the return from the *_class_get() functions) can
be used as argument to functions, like in Efl.Object.provider_find and
Efl.Ui.Widget_Factory.item_class(get/set).

This commits adds support by representing Efl.Class instances
as System.Type in the C# API, allowing someone to do things like:

`factory.ItemClass == typeof(MyFramework.MyButton)`

It also supports user-defined classes that inherit from efl classes.
src/bin/eolian_mono/eolian/mono/klass.hh
src/bin/eolian_mono/eolian/mono/marshall_annotation.hh
src/bin/eolian_mono/eolian/mono/type_impl.hh
src/bindings/mono/eina_mono/eina_container_common.cs
src/bindings/mono/eo_mono/iwrapper.cs
src/bindings/mono/meson.build
src/tests/efl_mono/Eo.cs
src/tests/efl_mono/dummy_test_object.eo
src/tests/efl_mono/libefl_mono_native_test.c