diff options
author | Yeongjong Lee <yj34.lee@samsung.com> | 2019-08-02 04:43:14 +0000 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-08-06 11:05:30 +0200 |
commit | 97510fc5714e899f0681b79acb0cead7527bf42b (patch) | |
tree | ca4ee97c2efbf75f552f480224a9005e519ee266 /src/lib/evas/canvas/efl_input_hold.eo | |
parent | 51c8ff8fc8b03e5676f7273beefbef2be0f3d24b (diff) |
efl_input_hold: replace hold property name with input_hold
Sorry to touch stable eo classes. there is name conflict issue between class and
property when binding language is generated from eo. for example in C#, compiler
error occurs.
```
src/bindings/mono/efl_input_hold.eo.cs(166,17): error CS0542:
`Efl.Input.Hold.Hold': member names cannot be the same as their enclosing type
```
This patch changes Efl.Input.Hold.GetHold/SetHold to
Efl.Input.Hold.GetInputHold/SetInputHold and generates Efl.Input.Hold.InputHold
property.
Note that CAPI is not changed.
ref T8093
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Lauro Neto <lauromauro_>
Differential Revision: https://phab.enlightenment.org/D9484
Diffstat (limited to 'src/lib/evas/canvas/efl_input_hold.eo')
-rw-r--r-- | src/lib/evas/canvas/efl_input_hold.eo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_input_hold.eo b/src/lib/evas/canvas/efl_input_hold.eo index 9649d75cb6..9160f2d306 100644 --- a/src/lib/evas/canvas/efl_input_hold.eo +++ b/src/lib/evas/canvas/efl_input_hold.eo | |||
@@ -2,7 +2,7 @@ class Efl.Input.Hold extends Efl.Object implements Efl.Input.Event | |||
2 | { | 2 | { |
3 | [[Event data sent when inputs are put on hold or resumed.]] | 3 | [[Event data sent when inputs are put on hold or resumed.]] |
4 | methods { | 4 | methods { |
5 | @property hold { | 5 | @property input_hold { |
6 | [[Property to show if inputs are now on hold.]] | 6 | [[Property to show if inputs are now on hold.]] |
7 | values { | 7 | values { |
8 | val: bool; [[$true if inputs are on hold, $false otherwise]] | 8 | val: bool; [[$true if inputs are on hold, $false otherwise]] |