felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=db77736b6a93a555f2d2bfc303fb366c319140f6

commit db77736b6a93a555f2d2bfc303fb366c319140f6
Author: Larry <larry....@gmail.com>
Date:   Fri Feb 19 21:43:33 2016 -0200

    elm_prefs: move Elm Prefs_Reset_Mode to elm_general.eo
---
 src/lib/elm_general.eot    | 30 ++++++++++++++++++++++++++++++
 src/lib/elm_prefs_common.h | 13 -------------
 src/lib/elm_prefs_data.h   | 23 -----------------------
 3 files changed, 30 insertions(+), 36 deletions(-)

diff --git a/src/lib/elm_general.eot b/src/lib/elm_general.eot
index aac2e94..c52dde5 100644
--- a/src/lib/elm_general.eot
+++ b/src/lib/elm_general.eot
@@ -207,3 +207,33 @@ enum Elm.App.View_State
    shallow,
 }
 
+enum Elm.Prefs.Reset_Mode
+{
+   [[Modes of resetting a prefs widget.
+     see elm_prefs_reset()
+     @since 1.8]]
+   legacy: elm_prefs_reset;
+   defaults, [[reset to default values, declared in its <b>.epb</b> file]]
+   last [[prefs will keep a small history of changes, so this  resets back to 
last batch of changes on the UI elements. it does <b>not</b> work on autosave 
mode]]
+}
+
+enum Elm.Prefs.Item_Type
+{
+   [[Elm Prefs item types.
+     @since 1.8]]
+   legacy: elm_prefs_type;
+   unknown = 0,
+   action, [[action type, bound to button-like UI elements]]
+   bool, [[boolean type, bound to checkbox-like UI elements]]
+   int, [[integer type, bound to spinner-like UI elements]]
+   float, [[floating point type, bound to spinner-like UI elements]]
+   label, [[label type, bound to read-only, label UI elements]]
+   date, [[date type, bound to date selection UI elements]]
+   text, [[text type, bound to single-line, text entry UI elements]]
+   textarea, [[text area type, bound to multi-line, text entry UI elements]]
+   page, [[page type, used to nest pages]]
+   reset, [[values resetting trigger type, bound to button-like UI elements]]
+   save, [[saving trigger type, bound to button-like UI elements]]
+   separator, [[separator type, bound to separator-like UI elements]]
+   swallow [[swallow type, bound to an empty 'spot' on the UI meant to receive 
and display external content]]
+}
diff --git a/src/lib/elm_prefs_common.h b/src/lib/elm_prefs_common.h
index 8d7ab7b..17cd0fb 100644
--- a/src/lib/elm_prefs_common.h
+++ b/src/lib/elm_prefs_common.h
@@ -5,19 +5,6 @@
  */
 
 /**
- * Modes of resetting a prefs widget.
- *
- * @see elm_prefs_reset()
- *
- * @since 1.8
- */
-typedef enum
-{
-   ELM_PREFS_RESET_DEFAULTS, /**< reset to default values, declared in its @b 
.epb file */
-   ELM_PREFS_RESET_LAST /**< prefs will keep a small history of changes, so 
this  resets back to last batch of changes on the UI elements. it does @b not 
work on autosave mode */
-} Elm_Prefs_Reset_Mode;
-
-/**
  * @brief Add a new prefs widget
  *
  * @param parent The parent widget to hold the new one
diff --git a/src/lib/elm_prefs_data.h b/src/lib/elm_prefs_data.h
index 54d3502..bf3b8af 100644
--- a/src/lib/elm_prefs_data.h
+++ b/src/lib/elm_prefs_data.h
@@ -31,29 +31,6 @@
  */
 
 /**
- * Elm Prefs item types.
- *
- * @since 1.8
- */
-typedef enum _Elm_Prefs_Item_Type
-{
-   ELM_PREFS_TYPE_UNKNOWN = 0,
-   ELM_PREFS_TYPE_ACTION, /***< action type, bound to button-like UI elements 
*/
-   ELM_PREFS_TYPE_BOOL, /**< boolean type, bound to checkbox-like UI elements 
*/
-   ELM_PREFS_TYPE_INT, /**< integer type, bound to spinner-like UI elements */
-   ELM_PREFS_TYPE_FLOAT, /**< floating point type, bound to spinner-like UI 
elements */
-   ELM_PREFS_TYPE_LABEL, /**< label type, bound to read-only, label UI 
elements */
-   ELM_PREFS_TYPE_DATE, /**< date type, bound to date selection UI elements */
-   ELM_PREFS_TYPE_TEXT, /**< text type, bound to single-line, text entry UI 
elements */
-   ELM_PREFS_TYPE_TEXTAREA, /**< text area type, bound to multi-line, text 
entry UI elements */
-   ELM_PREFS_TYPE_PAGE, /**< page type, used to nest pages */
-   ELM_PREFS_TYPE_RESET, /**< values resetting trigger type, bound to 
button-like UI elements */
-   ELM_PREFS_TYPE_SAVE, /**< saving trigger type, bound to button-like UI 
elements */
-   ELM_PREFS_TYPE_SEPARATOR, /**< separator type, bound to separator-like UI 
elements */
-   ELM_PREFS_TYPE_SWALLOW /**< swallow type, bound to an empty 'spot' on the 
UI meant to receive and display external content */
-} Elm_Prefs_Item_Type;
-
-/**
  * Types of events a given prefs data handle may issue.
  *
  * @see elm_prefs_data_event_callback_add()

-- 


Reply via email to