summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/part_definition.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-02 19:49:37 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-03 18:04:41 -0300
commit4636d6e0eb1f4a66b202b6cf6df793ec40c135a6 (patch)
treea0fc192dc8e2e52775c8a39209d1bdc740f3a807 /src/bin/eolian_mono/eolian/mono/part_definition.hh
parentc9dd86579f1e4b585e5dadbc9f69df0abd263917 (diff)
efl_mono: Change generated classes naming scheme
Summary: Now the generated classes use an approach more familiar to C# developers: Interfaces: efl.Object -> efl.IObject Concrete (implementation) classes: efl.ObjectConcrete -> efl.Object. During this change, some methods that could clash with the implementation class name (CS0542) had the prefix "Do" added (like in efl.Duplicate.Duplicate() and efl.Pack.Pack()). Depends on D6049 Reviewers: felipealmeida, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D6050
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/part_definition.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/part_definition.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/part_definition.hh b/src/bin/eolian_mono/eolian/mono/part_definition.hh
index 2a54ceb961..bba29dc8c3 100644
--- a/src/bin/eolian_mono/eolian/mono/part_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/part_definition.hh
@@ -25,7 +25,7 @@ struct part_definition_generator
25 << scope_tab << "{\n" 25 << scope_tab << "{\n"
26 << scope_tab << scope_tab << "get\n" 26 << scope_tab << scope_tab << "get\n"
27 << scope_tab << scope_tab << "{\n" 27 << scope_tab << scope_tab << "{\n"
28 << scope_tab << scope_tab << scope_tab << "efl.Object obj = efl_part(raw_handle, \"" << part.name << "\");\n" 28 << scope_tab << scope_tab << scope_tab << "efl.IObject obj = efl_part(raw_handle, \"" << part.name << "\");\n"
29 << scope_tab << scope_tab << scope_tab << "return " << part_klass_name << ".static_cast(obj);\n" 29 << scope_tab << scope_tab << scope_tab << "return " << part_klass_name << ".static_cast(obj);\n"
30 << scope_tab << scope_tab << "}\n" 30 << scope_tab << scope_tab << "}\n"
31 << scope_tab << "}\n" 31 << scope_tab << "}\n"