elm_general: move definition of enum Elm.Wrap.Type to elm_general.eot
authorYakov Goldberg <yakov.g@samsung.com>
Wed, 8 Jul 2015 11:42:17 +0000 (14:42 +0300)
committerYakov Goldberg <yakov.g@samsung.com>
Wed, 8 Jul 2015 13:07:58 +0000 (16:07 +0300)
move definition of enum Elm.Wrap.Type from elm_entry.eo to elm_general.eot
And import elm_general.eot into elm_entry.eo, elm_label.eo, elm_popup.eo

src/lib/elm_entry.eo
src/lib/elm_general.eot
src/lib/elm_label.eo
src/lib/elm_popup.eo

index 49b5c42..45afea3 100644 (file)
@@ -1,3 +1,5 @@
+import elm_general;
+
 enum Elm.Text_Format
 {
    [[Text Format types.
@@ -7,23 +9,6 @@ enum Elm.Text_Format
    markup_utf8 [[ Markup UTF8 type ]]
 }
 
-enum Elm.Wrap.Type
-{
-   [[
-     @addtogroup Entry
-     Line wrapping types.
-     Type of word or character wrapping to use.
-     @see elm_entry_line_wrap_set()
-   ]]
-
-   legacy: elm_wrap;
-   none = 0, [[No wrap - value is zero.]]
-   char,     [[Char wrap - wrap between characters.]]
-   word,     [[Word wrap - wrap in allowed wrapping points (as defined in the unicode standard).]]
-   mixed,    [[Mixed wrap - Word wrap, and if that fails, char wrap.]]
-   last
-}
-
 enum Elm.Input.Panel.Layout
 {
    [[
index 9b7fe19..f946536 100644 (file)
@@ -88,3 +88,22 @@ enum Elm.Object.Multi_Select_Mode
          ELM_OBJECT_MULTI_SELECT_MODE_MAX is forbidden.]]
 }
 
+enum Elm.Wrap.Type
+{
+   [[
+     @addtogroup Entry
+     Line wrapping types.
+     Type of word or character wrapping to use.
+     @see elm_entry_line_wrap_set()
+     @see elm_popup_content_text_wrap_type_set
+     @see elm_label_line_wrap_set()
+   ]]
+
+   legacy: elm_wrap;
+   none = 0, [[No wrap - value is zero.]]
+   char,     [[Char wrap - wrap between characters.]]
+   word,     [[Word wrap - wrap in allowed wrapping points (as defined in the unicode standard).]]
+   mixed,    [[Mixed wrap - Word wrap, and if that fails, char wrap.]]
+   last
+}
+
index 4ec9d49..27bd910 100644 (file)
@@ -1,3 +1,5 @@
+import elm_general;
+
 enum Elm.Label.Slide_Mode
 {
    [[
@@ -155,7 +157,7 @@ class Elm.Label (Elm.Layout)
             @ingroup Label */
          }
          values {
-            wrap: Elm_Wrap_Type; /*@ To wrap text or not */
+            wrap: Elm.Wrap.Type; /*@ To wrap text or not */
          }
       }
       @property ellipsis {
index d3c16b2..68d219d 100644 (file)
@@ -1,3 +1,5 @@
+import elm_general;
+
 enum Elm.Popup.Orient
 {
    [[
@@ -96,7 +98,7 @@ class Elm.Popup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
             @see elm_popup_content_text_wrap_type_set */
          }
          values {
-            wrap: Elm_Wrap_Type; /*@ wrapping type of type Elm_Wrap_Type */
+            wrap: Elm.Wrap.Type; /*@ wrapping type of type Elm_Wrap_Type */
          }
       }
       @property orient {