efl_ui_animation_view: change to Animation_View_State to resolve name conflict 02/211902/3
authorYeongjong Lee <yj34.lee@samsung.com>
Mon, 12 Aug 2019 01:51:35 +0000 (10:51 +0900)
committerHermet Park <chuneon.park@samsung.com>
Tue, 13 Aug 2019 02:31:06 +0000 (02:31 +0000)
When cs file is generated, there is compiler error like `Error CS0101 The
namespace 'Efl.Ui' already contains a definition for 'AnimationView'`.
bacause `Efl.Ui.Animation_View` is class name, `Efl.Ui.Animation_View` can't be
namespace of `State` enum.

This patch will prevent name conflict between namesapce of enum and class name.

Change-Id: I4c9915ef6d4d252728c9ea16d9d5610189a179dd

src/lib/elementary/efl_ui_animation_view.eo

index 47dc29d..dd11adf 100644 (file)
@@ -1,5 +1,5 @@
 
-enum Efl.Ui.Animation_View.State
+enum Efl.Ui.Animation_View_State
 {
    not_ready, [[Animation is not ready to play. (Probably, it didn't file set yet or failed to read file. @since 1.23]]
    play, [[Animation is on playing. see @Efl.Ui.Animation_View.play @since 1.23]]
@@ -213,7 +213,7 @@ class @beta Efl.Ui.Animation_View extends Efl.Ui.Widget implements Efl.Gfx.View,
          get{
          }
          values {
-            state: Efl.Ui.Animation_View.State; [[Current animation view state]]
+            state: Efl.Ui.Animation_View_State; [[Current animation view state]]
          }
       }
       is_playing_back {