Eolian: Eo headers clean and legacy integration for:

Elc File Selector
  Elc File Selector Entry
  Elc File Selector Button
  Elementary Datetime
  Elementary Day Selector
  Elementary Disk Selector
  Elementary Entry
  Elementary Flip
  Elementary Flip Selector
devs/felipealmeida/promises
Yossi Kantor 9 years ago committed by Daniel Zaoui
parent 4ed35ccc04
commit 40a65560f6
  1. 20
      legacy/elementary/src/lib/Makefile.am
  2. 116
      legacy/elementary/src/lib/elc_fileselector_button_eo.h
  3. 99
      legacy/elementary/src/lib/elc_fileselector_button_legacy.h
  4. 112
      legacy/elementary/src/lib/elc_fileselector_entry_eo.h
  5. 99
      legacy/elementary/src/lib/elc_fileselector_entry_legacy.h
  6. 41
      legacy/elementary/src/lib/elc_fileselector_eo.h
  7. 33
      legacy/elementary/src/lib/elc_fileselector_legacy.h
  8. 210
      legacy/elementary/src/lib/elm_datetime_eo.h
  9. 369
      legacy/elementary/src/lib/elm_datetime_legacy.h
  10. 169
      legacy/elementary/src/lib/elm_dayselector_eo.h
  11. 155
      legacy/elementary/src/lib/elm_dayselector_legacy.h
  12. 200
      legacy/elementary/src/lib/elm_diskselector_eo.h
  13. 228
      legacy/elementary/src/lib/elm_diskselector_legacy.h
  14. 1
      legacy/elementary/src/lib/elm_entry.eo
  15. 1400
      legacy/elementary/src/lib/elm_entry_eo.h
  16. 1196
      legacy/elementary/src/lib/elm_entry_legacy.h
  17. 159
      legacy/elementary/src/lib/elm_flip_eo.h
  18. 231
      legacy/elementary/src/lib/elm_flip_legacy.h
  19. 174
      legacy/elementary/src/lib/elm_flipselector_eo.h
  20. 184
      legacy/elementary/src/lib/elm_flipselector_legacy.h

@ -593,22 +593,31 @@ BUILT_SOURCES = \
elc_ctxpopup.eo.legacy.h \
elm_datetime.eo.c \
elm_datetime.eo.h \
elm_datetime.eo.legacy.h \
elm_dayselector.eo.c \
elm_dayselector.eo.h \
elm_dayselector.eo.legacy.h \
elm_diskselector.eo.c \
elm_diskselector.eo.h \
elm_diskselector.eo.legacy.h \
elm_entry.eo.c \
elm_entry.eo.h \
elm_entry.eo.legacy.h \
elc_fileselector.eo.c \
elc_fileselector.eo.h \
elc_fileselector.eo.legacy.h \
elc_fileselector_button.eo.c \
elc_fileselector_button.eo.h \
elc_fileselector_button.eo.legacy.h \
elc_fileselector_entry.eo.c \
elc_fileselector_entry.eo.h \
elc_fileselector_entry.eo.legacy.h \
elm_flipselector.eo.c \
elm_flipselector.eo.h \
elm_flipselector.eo.legacy.h \
elm_flip.eo.c \
elm_flip.eo.h \
elm_flip.eo.legacy.h \
elm_gengrid.eo.c \
elm_gengrid.eo.h \
elm_gengrid_pan.eo.c \
@ -904,4 +913,13 @@ nodist_includesunstable_HEADERS = \
elm_check.eo.legacy.h \
elm_clock.eo.legacy.h \
elm_colorselector.eo.legacy.h \
elc_ctxpopup.eo.legacy.h
elc_ctxpopup.eo.legacy.h \
elm_datetime.eo.legacy.h \
elm_dayselector.eo.legacy.h \
elm_diskselector.eo.legacy.h \
elm_entry.eo.legacy.h \
elc_fileselector.eo.legacy.h \
elc_fileselector_button.eo.legacy.h \
elc_fileselector_entry.eo.legacy.h \
elm_flipselector.eo.legacy.h \
elm_flip.eo.legacy.h

@ -1,115 +1 @@
#include "elc_fileselector_button.eo.h"
#if 0
#define ELM_OBJ_FILESELECTOR_BUTTON_CLASS elm_obj_fileselector_button_class_get()
const Eo_Class *elm_obj_fileselector_button_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_FILESELECTOR_BUTTON_BASE_ID;
enum
{
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_SET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET,
ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_LAST
};
#define ELM_OBJ_FILESELECTOR_BUTTON_ID(sub_id) (ELM_OBJ_FILESELECTOR_BUTTON_BASE_ID + sub_id)
/**
* @def elm_obj_fileselector_button_window_title_set
* @since 1.8
*
* Set the title for a given file selector button widget's window
*
* @param[in] title
*
* @see elm_fileselector_button_window_title_set
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_window_title_set(title) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_SET), EO_TYPECHECK(const char *, title)
/**
* @def elm_obj_fileselector_button_window_title_get
* @since 1.8
*
* Get the title for a given file selector button widget's
*
* @param[out] ret
*
* @see elm_fileselector_button_window_title_get
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_window_title_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_obj_fileselector_button_window_size_set
* @since 1.8
*
* Set the size of a given file selector button widget's window,
* holding the file selector itself.
*
* @param[in] width
* @param[in] height
*
* @see elm_fileselector_button_window_size_set
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_window_size_set(width, height) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET), EO_TYPECHECK(Evas_Coord, width), EO_TYPECHECK(Evas_Coord, height)
/**
* @def elm_obj_fileselector_button_window_size_get
* @since 1.8
*
* Get the size of a given file selector button widget's window,
* holding the file selector itself.
*
* @param[out] width
* @param[out] height
*
* @see elm_fileselector_button_window_size_get
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_window_size_get(width, height) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height)
/**
* @def elm_obj_fileselector_button_inwin_mode_set
* @since 1.8
*
* Set whether a given file selector button widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window. By default, it won't.
*
* @param[in] value
*
* @see elm_fileselector_button_inwin_mode_set
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_inwin_mode_set(value) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET), EO_TYPECHECK(Eina_Bool, value)
/**
* @def elm_obj_fileselector_button_inwin_mode_get
* @since 1.8
*
* Get whether a given file selector button widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window.
*
* @param[out] ret
*
* @see elm_fileselector_button_inwin_mode_get
*
* @ingroup File_Selector_Button
*/
#define elm_obj_fileselector_button_inwin_mode_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elc_fileselector_button.eo.h"

@ -10,101 +10,4 @@
*/
EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
/**
* Set the title for a given file selector button widget's window
*
* @param obj The file selector button widget
* @param title The title string
*
* This will change the popup window's title, when the file selector pops
* out after a click on the button. Those windows have the default
* (unlocalized) value of @c "Select a file" as titles.
*
* @note It will only take effect if the file selector
* button widget is @b not under "inwin mode".
*
* @see elm_fileselector_button_window_title_get()
*
* @ingroup File_Selector_Button
*/
EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title);
/**
* Get the title for a given file selector button widget's
* window
*
* @param obj The file selector button widget
* @return Title of the file selector button's window
*
* @see elm_fileselector_button_window_title_get() for more details
*
* @ingroup File_Selector_Button
*/
EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj);
/**
* Set the size of a given file selector button widget's window,
* holding the file selector itself.
*
* @param obj The file selector button widget
* @param width The window's width
* @param height The window's height
*
* @note it will only take any effect if the file selector button
* widget is @b not under "inwin mode". The default size for the
* window (when applicable) is 400x400 pixels.
*
* @see elm_fileselector_button_window_size_get()
*
* @ingroup File_Selector_Button
*/
EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
/**
* Get the size of a given file selector button widget's window,
* holding the file selector itself.
*
* @param obj The file selector button widget
* @param width Pointer into which to store the width value
* @param height Pointer into which to store the height value
*
* @note Use @c NULL pointers on the size values you're not
* interested in: they'll be ignored by the function.
*
* @see elm_fileselector_button_window_size_set(), for more details
*
* @ingroup File_Selector_Button
*/
EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
/**
* Set whether a given file selector button widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window. By default, it depends on the current
* profile.
*
* @param obj The file selector button widget
* @param value @c EINA_TRUE to make it use an inner window, @c
* EINA_FALSE to make it use a dedicated window
*
* @see elm_win_inwin_add() for more information on inner windows
* @see elm_fileselector_button_inwin_mode_get()
*
* @ingroup File_Selector_Button
*/
EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
/**
* Get whether a given file selector button widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window.
*
* @param obj The file selector button widget
* @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
* if it will use a dedicated window
*
* @see elm_fileselector_button_inwin_mode_set() for more details
*
* @ingroup File_Selector_Button
*/
EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj);
#include "elc_fileselector_button.eo.legacy.h"

@ -1,111 +1 @@
#include "elc_fileselector_entry.eo.h"
#if 0
#define ELM_OBJ_FILESELECTOR_ENTRY_CLASS elm_obj_fileselector_entry_class_get()
const Eo_Class *elm_obj_fileselector_entry_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID;
enum
{
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET,
ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_LAST
};
#define ELM_OBJ_FILESELECTOR_ENTRY_ID(sub_id) (ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID + sub_id)
/**
* @def elm_obj_fileselector_entry_window_title_set
* @since 1.8
*
* Set the title for a given file selector entry widget's window
*
* @param[in] title
*
* @see elm_fileselector_entry_window_title_set
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_window_title_set(title) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET), EO_TYPECHECK(const char *, title)
/**
* @def elm_obj_fileselector_entry_window_title_get
* @since 1.8
*
* Get the title set for a given file selector entry widget's
* window
*
* @param[out] ret
*
* @see elm_fileselector_entry_window_title_get
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_window_title_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_obj_fileselector_entry_window_size_set
* @since 1.8
*
* Set the size of a given file selector entry widget's window,
* holding the file selector itself.
*
* @param[in] width
* @param[in] height
*
* @see elm_fileselector_entry_window_size_set
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_window_size_set(width, height) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET), EO_TYPECHECK(Evas_Coord, width), EO_TYPECHECK(Evas_Coord, height)
/**
* @def elm_obj_fileselector_entry_window_size_get
* @since 1.8
*
* Get the size of a given file selector entry widget's window,
* holding the file selector itself.
*
* @param[out] width
* @param[out] height
*
* @see elm_fileselector_entry_window_size_get
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_window_size_get(width, height) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height)
/**
* @def elm_obj_fileselector_entry_inwin_mode_set
* @since 1.8
*
* Set whether a given file selector entry widget's internal file
*
* @param[in] value
*
* @see elm_fileselector_entry_inwin_mode_set
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_inwin_mode_set(value) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET), EO_TYPECHECK(Eina_Bool, value)
/**
* @def elm_obj_fileselector_entry_inwin_mode_get
* @since 1.8
*
* Get whether a given file selector entry widget's internal file
*
* @param[out] ret
*
* @see elm_fileselector_entry_inwin_mode_get
*
* @ingroup File_Selector_Entry
*/
#define elm_obj_fileselector_entry_inwin_mode_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elc_fileselector_entry.eo.h"

@ -11,101 +11,4 @@
*/
EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent);
/**
* Set the title for a given file selector entry widget's window
*
* @param obj The file selector entry widget
* @param title The title string
*
* This will change the window's title, when the file selector pops
* out after a click on the entry's button. Those windows have the
* default (unlocalized) value of @c "Select a file" as titles.
*
* @note It will only take any effect if the file selector
* entry widget is @b not under "inwin mode".
*
* @see elm_fileselector_entry_window_title_get()
*
* @ingroup File_Selector_Entry
*/
EAPI void elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title);
/**
* Get the title set for a given file selector entry widget's
* window
*
* @param obj The file selector entry widget
* @return Title of the file selector entry's window
*
* @see elm_fileselector_entry_window_title_get() for more details
*
* @ingroup File_Selector_Entry
*/
EAPI const char *elm_fileselector_entry_window_title_get(const Evas_Object *obj);
/**
* Set the size of a given file selector entry widget's window,
* holding the file selector itself.
*
* @param obj The file selector entry widget
* @param width The window's width
* @param height The window's height
*
* @note it will only take any effect if the file selector entry
* widget is @b not under "inwin mode". The default size for the
* window (when applicable) is 400x400 pixels.
*
* @see elm_fileselector_entry_window_size_get()
*
* @ingroup File_Selector_Entry
*/
EAPI void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
/**
* Get the size of a given file selector entry widget's window,
* holding the file selector itself.
*
* @param obj The file selector entry widget
* @param width Pointer into which to store the width value
* @param height Pointer into which to store the height value
*
* @note Use @c NULL pointers on the size values you're not
* interested in: they'll be ignored by the function.
*
* @see elm_fileselector_entry_window_size_set(), for more details
*
* @ingroup File_Selector_Entry
*/
EAPI void elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
/**
* Set whether a given file selector entry widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window. By default, it depends on the current
* profile.
*
* @param obj The file selector entry widget
* @param value @c EINA_TRUE to make it use an inner window, @c
* EINA_FALSE to make it use a dedicated window
*
* @see elm_win_inwin_add() for more information on inner windows
* @see elm_fileselector_entry_inwin_mode_get()
*
* @ingroup File_Selector_Entry
*/
EAPI void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
/**
* Get whether a given file selector entry widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window.
*
* @param obj The file selector entry widget
* @return @c EINA_TRUE if will use an inner window, @c EINA_FALSE
* if it will use a dedicated window
*
* @see elm_fileselector_entry_inwin_mode_set() for more details
*
* @ingroup File_Selector_Entry
*/
EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj);
#include "elc_fileselector_entry.eo.legacy.h"

@ -3,48 +3,9 @@
*
* @{
*/
#include "elc_fileselector.eo.h"
#if 0
#define ELM_OBJ_FILESELECTOR_CLASS elm_obj_fileselector_class_get()
const Eo_Class *elm_obj_fileselector_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_FILESELECTOR_BASE_ID;
enum
{
ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET,
ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET,
ELM_OBJ_FILESELECTOR_SUB_ID_LAST
};
#define ELM_OBJ_FILESELECTOR_ID(sub_id) (ELM_OBJ_FILESELECTOR_BASE_ID + sub_id)
/**
* @def elm_obj_fileselector_buttons_ok_cancel_set
* @since 1.8
*
* Enable/disable the "ok" and "cancel" buttons on a given file
*
* @param[in] visible
*
* @see elm_fileselector_buttons_ok_cancel_set
*/
#define elm_obj_fileselector_buttons_ok_cancel_set(visible) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET), EO_TYPECHECK(Eina_Bool, visible)
/**
* @def elm_obj_fileselector_buttons_ok_cancel_get
* @since 1.8
*
* Get whether the "ok" and "cancel" buttons on a given file
*
* @param[out] ret
*
* @see elm_fileselector_buttons_ok_cancel_get
*/
#define elm_obj_fileselector_buttons_ok_cancel_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET), EO_TYPECHECK(Eina_Bool *, ret)
#endif
/**
* @}
*/

@ -75,37 +75,6 @@ EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Ei
*/
EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
/**
* Enable/disable the "ok" and "cancel" buttons on a given file
* selector widget
*
* @param obj The file selector object
* @param buttons @c EINA_TRUE to show buttons, @c EINA_FALSE to hide.
*
* @note A file selector without those buttons will never emit the
* @c "done" smart event, and is only usable if one is just hooking
* to the other two events.
*
* @see elm_fileselector_buttons_ok_cancel_get()
*
* @ingroup Fileselector
*/
EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
/**
* Get whether the "ok" and "cancel" buttons on a given file
* selector widget are being shown.
*
* @param obj The file selector object
* @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
* otherwise (and on errors)
*
* @see elm_fileselector_buttons_ok_cancel_set() for more details
*
* @ingroup Fileselector
*/
EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
/**
* Enable/disable a tree view in the given file selector widget,
* <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
@ -437,3 +406,5 @@ EAPI Elm_Fileselector_Sort elm_fileselector_sort_method_get(const Evas_Object *o
* @ingroup Fileselector
*/
EAPI void elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort method);
#include "elc_fileselector.eo.legacy.h"

@ -1,209 +1 @@
#include "elm_datetime.eo.h"
#if 0
#define ELM_OBJ_DATETIME_CLASS elm_obj_datetime_class_get()
const Eo_Class *elm_obj_datetime_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_DATETIME_BASE_ID;
enum
{
ELM_OBJ_DATETIME_SUB_ID_FORMAT_GET,
ELM_OBJ_DATETIME_SUB_ID_FORMAT_SET,
ELM_OBJ_DATETIME_SUB_ID_FIELD_VISIBLE_GET,
ELM_OBJ_DATETIME_SUB_ID_FIELD_VISIBLE_SET,
ELM_OBJ_DATETIME_SUB_ID_FIELD_LIMIT_GET,
ELM_OBJ_DATETIME_SUB_ID_FIELD_LIMIT_SET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_GET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_SET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_MIN_GET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_MIN_SET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_MAX_GET,
ELM_OBJ_DATETIME_SUB_ID_VALUE_MAX_SET,
ELM_OBJ_DATETIME_SUB_ID_LAST
};
#define ELM_OBJ_DATETIME_ID(sub_id) (ELM_OBJ_DATETIME_BASE_ID + sub_id)
/**
* @def elm_obj_datetime_format_get
* @since 1.8
*
* Get the datetime format.
*
* @param[out] ret
*
* @see elm_datetime_format_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_format_get(ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FORMAT_GET), EO_TYPECHECK(const char **, ret)
/**
* @def elm_obj_datetime_format_set
* @since 1.8
*
* Set the datetime format.
*
* @param[in] fmt
*
* @see elm_datetime_format_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_format_set(fmt) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FORMAT_SET), EO_TYPECHECK(const char *, fmt)
/**
* @def elm_obj_datetime_field_visible_get
* @since 1.8
*
* @brief Get whether a field can be visible/not
*
* @param[in] fieldtype
* @param[out] ret
*
* @see elm_datetime_field_visible_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_field_visible_get(fieldtype, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FIELD_VISIBLE_GET), EO_TYPECHECK(Elm_Datetime_Field_Type, fieldtype), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_field_visible_set
* @since 1.8
*
* @brief Set a field to be visible or not.
*
* @param[in] fieldtype
* @param[in] visible
*
* @see elm_datetime_field_visible_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_field_visible_set(fieldtype, visible) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FIELD_VISIBLE_SET), EO_TYPECHECK(Elm_Datetime_Field_Type, fieldtype), EO_TYPECHECK(Eina_Bool, visible)
/**
* @def elm_obj_datetime_field_limit_get
* @since 1.8
*
* @brief Get the field limits of a field.
*
* @param[in] fieldtype
* @param[out] min
* @param[out] max
*
* @see elm_datetime_field_limit_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_field_limit_get(fieldtype, min, max) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FIELD_LIMIT_GET), EO_TYPECHECK(Elm_Datetime_Field_Type, fieldtype), EO_TYPECHECK(int *, min), EO_TYPECHECK(int *, max)
/**
* @def elm_obj_datetime_field_limit_set
* @since 1.8
*
* @brief Set the field limits of a field.
*
* @param[in] fieldtype
* @param[in] min
* @param[in] max
*
* @see elm_datetime_field_limit_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_field_limit_set(fieldtype, min, max) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_FIELD_LIMIT_SET), EO_TYPECHECK(Elm_Datetime_Field_Type, fieldtype), EO_TYPECHECK(int, min), EO_TYPECHECK(int, max)
/**
* @def elm_obj_datetime_value_get
* @since 1.8
*
* @brief Get the current value of a Datetime object.
*
* @param[in,out] currtime
* @param[out] ret
*
* @see elm_datetime_value_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_get(currtime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_GET), EO_TYPECHECK(struct tm *, currtime), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_value_set
* @since 1.8
*
* @brief Set the current value of a Datetime object.
*
* @param[in] newtime
* @param[out] ret
*
* @see elm_datetime_value_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_set(newtime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_SET), EO_TYPECHECK(const struct tm *, newtime), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_value_min_get
* @since 1.8
*
* @brief Get the lower boundary of a field.
*
* @param[in,out] mintime
* @param[out] ret
*
* @see elm_datetime_value_min_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_min_get(mintime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_MIN_GET), EO_TYPECHECK(struct tm *, mintime), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_value_min_set
* @since 1.8
*
* @brief Set the lower boundary of a field.
*
* @param[in] mintime
* @param[out] ret
*
* @see elm_datetime_value_min_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_min_set(mintime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_MIN_SET), EO_TYPECHECK(const struct tm *, mintime), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_value_max_get
* @since 1.8
*
* @brief Get the upper boundary of a field.
*
* @param[in,out] maxtime
* @param[out] ret
*
* @see elm_datetime_value_max_get
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_max_get(maxtime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_MAX_GET), EO_TYPECHECK(struct tm *, maxtime), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_datetime_value_max_set
* @since 1.8
*
* @brief Set the upper boundary of a field.
*
* @param[in] maxtime
* @param[out] ret
*
* @see elm_datetime_value_max_set
*
* @ingroup Datetime
*/
#define elm_obj_datetime_value_max_set(maxtime, ret) ELM_OBJ_DATETIME_ID(ELM_OBJ_DATETIME_SUB_ID_VALUE_MAX_SET), EO_TYPECHECK(const struct tm *, maxtime), EO_TYPECHECK(Eina_Bool *, ret)
#endif
#include "elm_datetime.eo.h"

@ -12,371 +12,4 @@
*/
EAPI Evas_Object *elm_datetime_add(Evas_Object *parent);
/**
* Get the datetime format. Format is a combination of allowed Libc date format
* specifiers like: "%b %d, %Y %I : %M %p".
*
* Maximum allowed format length is 64 chars.
*
* Format can include separators for each individual datetime field except
* for AM/PM field.
*
* Each separator can be a maximum of 6 UTF-8 bytes.
* Space is also taken as a separator.
*
* Following are the allowed set of format specifiers for each datetime field.
*
* @b %%Y : The year as a decimal number including the century.
*
* @b %%y : The year as a decimal number without a century (range 00 to 99).
*
* @b %%m : The month as a decimal number (range 01 to 12).
*
* @b %%b : The abbreviated month name according to the current locale.
*
* @b %%B : The full month name according to the current locale.
*
* @b %%h : The abbreviated month name according to the current locale(same as %%b).
*
* @b %%d : The day of the month as a decimal number (range 01 to 31).
*
* @b %%e : The day of the month as a decimal number (range 1 to 31). single
* digits are preceded by a blank.
*
* @b %%I : The hour as a decimal number using a 12-hour clock (range 01 to 12).
*
* @b %%H : The hour as a decimal number using a 24-hour clock (range 00 to 23).
*
* @b %%k : The hour (24-hour clock) as a decimal number (range 0 to 23). single
* digits are preceded by a blank.
*
* @b %%l : The hour (12-hour clock) as a decimal number (range 1 to 12); single
* digits are preceded by a blank.
*
* @b %%M : The minute as a decimal number (range 00 to 59).
*
* @b %%p : Either 'AM' or 'PM' according to the given time value, or the
* corresponding strings for the current locale. Noon is treated as 'PM'
* and midnight as 'AM'.
*
* @b %%P : Like %p but in lower case: 'am' or 'pm' or a corresponding string for
* the current locale.
*
* @b %%c : The preferred date and time representation for the current locale.
*
* @b %%x : The preferred date representation for the current locale without the time.
*
* @b %%X : The preferred time representation for the current locale without the date.
*
* @b %%r : The complete calendar time using the AM/PM format of the current locale.
*
* @b %%R : The hour and minute in decimal numbers using the format %H:%M.
*
* @b %%T : The time of day in decimal numbers using the format %H:%M:%S.
*
* @b %%D : The date using the format %%m/%%d/%%y.
*
* @b %%F : The date using the format %%Y-%%m-%%d.
*
* These specifiers can be arranged in any order and the widget will display the
* fields accordingly.
*
* Default format is taken as per the system locale settings.
*
* @param obj The datetime object
* @return The datetime format string. Example: "%b %d, %Y %I : %M %p"
*
* @see elm_datetime_format_set()
* @ingroup Datetime
*/
EAPI const char *elm_datetime_format_get(const Evas_Object *obj);
/**
* Set the datetime format. Format is a combination of allowed Libc date format
* specifiers like: "%b %d, %Y %I : %M %p".
*
* Maximum allowed format length is 64 chars.
*
* Format can include separators for each individual datetime field except
* for AM/PM field.
*
* Each separator can be a maximum of 6 UTF-8 bytes.
* Space is also taken as a separator.
*
* Following are the allowed set of format specifiers for each datetime field.
*
* @b %%Y : The year as a decimal number including the century.
*
* @b %%y : The year as a decimal number without a century (range 00 to 99).
*
* @b %%m : The month as a decimal number (range 01 to 12).
*
* @b %%b : The abbreviated month name according to the current locale.
*
* @b %%B : The full month name according to the current locale.
*
* @b %%h : The abbreviated month name according to the current locale(same as %%b).
*
* @b %%d : The day of the month as a decimal number (range 01 to 31).
*
* @b %%e : The day of the month as a decimal number (range 1 to 31). single
* digits are preceded by a blank.
*
* @b %%I : The hour as a decimal number using a 12-hour clock (range 01 to 12).
*
* @b %%H : The hour as a decimal number using a 24-hour clock (range 00 to 23).
*
* @b %%k : The hour (24-hour clock) as a decimal number (range 0 to 23). single
* digits are preceded by a blank.
*
* @b %%l : The hour (12-hour clock) as a decimal number (range 1 to 12); single
* digits are preceded by a blank.
*
* @b %%M : The minute as a decimal number (range 00 to 59).
*
* @b %%p : Either 'AM' or 'PM' according to the given time value, or the
* corresponding strings for the current locale. Noon is treated as 'PM'
* and midnight as 'AM'.
*
* @b %%P : Like %p but in lower case: 'am' or 'pm' or a corresponding string for
* the current locale.
*
* @b %%c : The preferred date and time representation for the current locale.
*
* @b %%x : The preferred date representation for the current locale without the time.
*
* @b %%X : The preferred time representation for the current locale without the date.
*
* @b %%r : The complete calendar time using the AM/PM format of the current locale.
*
* @b %%R : The hour and minute in decimal numbers using the format %H:%M.
*
* @b %%T : The time of day in decimal numbers using the format %H:%M:%S.
*
* @b %%D : The date using the format %%m/%%d/%%y.
*
* @b %%F : The date using the format %%Y-%%m-%%d.
*
* These specifiers can be arranged in any order and the widget will display the
* fields accordingly.
*
* Default format is taken as per the system locale settings.
*
* @param obj The datetime object
* @param fmt The datetime format
*
* @see elm_datetime_format_get()
* @ingroup Datetime
*/
EAPI void elm_datetime_format_set(Evas_Object *obj, const char *fmt);
/**
* @brief Get whether a field can be visible/not
*
* @param obj The datetime object
* @param fieldtype Type of the field. ELM_DATETIME_YEAR etc
* @return bool @c EINA_TRUE, if field can be visible. @c EINA_FALSE otherwise.
*
* @see elm_datetime_field_visible_set()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_field_visible_get(const Evas_Object *obj, Elm_Datetime_Field_Type fieldtype);
/**
* @brief Set a field to be visible or not.
* Setting this API True does not ensure that the field is visible, apart from
* this, the field's format must be present in Datetime overall format.
* If a field's visibility is set to False then it won't appear even though
* its format is present in overall format.
* So if and only if this API is set true and the corresponding field's format
* is present in Datetime format, the field is visible.
*
* By default the field visibility is set to True.
*
* @param obj The datetime object
* @param fieldtype Type of the field. ELM_DATETIME_YEAR etc.
* @param visible @c EINA_TRUE field can be visible, @c EINA_FALSE otherwise.
*
* @see elm_datetime_field_visible_get()
* @ingroup Datetime
*/
EAPI void elm_datetime_field_visible_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, Eina_Bool visible);
/**
* @brief Get the field limits of a field.
*
* Limits can be set to individual fields, independently, except for AM/PM field.
* Any field can display the values only in between these Minimum and Maximum limits unless
* the corresponding time value is restricted from MinTime to MaxTime.
* That is, Min/ Max field limits always works under the limitations of MinTime/ MaxTime.
*
* There is no provision to set the limits of AM/PM field.
*
* @param obj The datetime object
* @param fieldtype Type of the field. ELM_DATETIME_YEAR etc.
* @param min Reference to field's minimum value
* @param max Reference to field's maximum value
*
* @see elm_datetime_field_limit_set()
* @ingroup Datetime
*/
EAPI void elm_datetime_field_limit_get(const Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int *min, int *max);
/**
* @brief Set the field limits of a field.
*
* Limits can be set to individual fields, independently, except for AM/PM field.
* Any field can display the values only in between these Minimum and Maximum limits unless
* the corresponding time value is restricted from MinTime to MaxTime.
* That is, Min/ Max field limits always works under the limitations of MinTime/ MaxTime.
*
* There is no provision to set the limits of AM/PM field.
*
* @param obj The datetime object
* @param fieldtype Type of the field. ELM_DATETIME_YEAR etc.
* @param min Reference to field's minimum value
* @param max Reference to field's maximum value
*
* @see elm_datetime_field_limit_set()
* @ingroup Datetime
*/
EAPI void elm_datetime_field_limit_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int min, int max);
/**
* @brief Get the current value of a Datetime object.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
* @param obj The datetime object.
* @param currtime Time structure.
* @return @c EINA_TRUE if current time is returned successfully.
*
* @see elm_datetime_value_set()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_value_get(const Evas_Object *obj, struct tm *currtime);
/**
* @brief Set the current value of a Datetime object.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
*
* @param obj The datetime object.
* @param newtime Time structure filled with values to be set.
* @return @c EINA_TRUE if current time is set successfully.
*
* @see elm_datetime_value_set()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_value_set(Evas_Object *obj, const struct tm *newtime);
/**
* @brief Get the lower boundary of a field.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
* @param obj The datetime object
* @param mintime Time structure.
* @return @c EINA_TRUE if minimum value is successfully returned.
*
* @see elm_datetime_value_min_set()
* @ingroup Datepicker
*/
EAPI Eina_Bool elm_datetime_value_min_get(const Evas_Object *obj, struct tm *mintime);
/**
* @brief Set the lower boundary of a field.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
* @param obj The datetime object.
* @param mintime Time structure containing the minimum time value.
* @return @c EINA_TRUE if minimum value is accepted.
*
* @see elm_datetime_value_min_get()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_value_min_set(Evas_Object *obj, const struct tm *mintime);
/**
* @brief Get the upper boundary of a field.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
* @param obj The datetime object
* @param maxtime Time structure containing the maximum time value.
* @return @c EINA_TRUE if maximum value is returned successfully.
*
* @see elm_datetime_value_max_set()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_value_max_get(const Evas_Object *obj, struct tm *maxtime);
/**
* @brief Set the upper boundary of a field.
*
* Year: years since 1900. Negative value represents year below 1900 (year
* value -30 represents 1870). Year default range is from 70 to 137.
*
* Month: default value range is from 0 to 11.
*
* Date: default value range is from 1 to 31 according to the month value.
*
* Hour: default value will be in terms of 24 hr format (0~23)
*
* Minute: default value range is from 0 to 59.
*
* @param obj The datetime object
* @param maxtime Time structure containing the maximum time value.
* @return @c EINA_TRUE if maximum value is accepted.
*
* @see elm_datetime_value_max_get()
* @ingroup Datetime
*/
EAPI Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, const struct tm *maxtime);
#include "elm_datetime.eo.legacy.h"

@ -1,170 +1 @@
#include "elm_dayselector.eo.h"
#if 0
#define ELM_OBJ_DAYSELECTOR_CLASS elm_obj_dayselector_class_get()
const Eo_Class *elm_obj_dayselector_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_DAYSELECTOR_BASE_ID;
enum
{
ELM_OBJ_DAYSELECTOR_SUB_ID_DAY_SELECTED_SET,
ELM_OBJ_DAYSELECTOR_SUB_ID_DAY_SELECTED_GET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEK_START_SET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEK_START_GET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_START_SET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_START_GET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_LENGTH_SET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_LENGTH_GET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKDAYS_NAMES_SET,
ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKDAYS_NAMES_GET,
ELM_OBJ_DAYSELECTOR_SUB_ID_LAST
};
#define ELM_OBJ_DAYSELECTOR_ID(sub_id) (ELM_OBJ_DAYSELECTOR_BASE_ID + sub_id)
/**
* @def elm_obj_dayselector_day_selected_set
* @since 1.8
*
* Set the state of given Dayselector_Day.
*
* @param[in] day
* @param[in] selected
*
* @see elm_dayselector_day_selected_set
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_day_selected_set(day, selected) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_DAY_SELECTED_SET), EO_TYPECHECK(Elm_Dayselector_Day, day), EO_TYPECHECK(Eina_Bool, selected)
/**
* @def elm_obj_dayselector_day_selected_get
* @since 1.8
*
* Get the state of given Dayselector_Day.
*
* @param[in] day
* @param[out] ret
*
* @see elm_dayselector_day_selected_get
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_day_selected_get(day, ret) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_DAY_SELECTED_GET), EO_TYPECHECK(Elm_Dayselector_Day, day), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_dayselector_week_start_set
* @since 1.8
*
* Set the starting day of Dayselector.
*
* @param[in] day
*
* @see elm_dayselector_week_start_set
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_week_start_set(day) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEK_START_SET), EO_TYPECHECK(Elm_Dayselector_Day, day)
/**
* @def elm_obj_dayselector_week_start_get
* @since 1.8
*
* Get the starting day of Dayselector.
*
* @param[out] ret
*
* @see elm_dayselector_week_start_get
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_week_start_get(ret) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEK_START_GET), EO_TYPECHECK(Elm_Dayselector_Day *, ret)
/**
* @def elm_obj_dayselector_weekend_start_set
* @since 1.8
*
* Set the weekend starting day of Dayselector.
*
* @param[in] day
*
* @see elm_dayselector_weekend_start_set
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekend_start_set(day) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_START_SET), EO_TYPECHECK(Elm_Dayselector_Day, day)
/**
* @def elm_obj_dayselector_weekend_start_get
* @since 1.8
*
* Get the weekend starting day of Dayselector.
*
* @param[out] ret
*
* @see elm_dayselector_weekend_start_get
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekend_start_get(ret) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_START_GET), EO_TYPECHECK(Elm_Dayselector_Day *, ret)
/**
* @def elm_obj_dayselector_weekend_length_set
* @since 1.8
*
* Set the weekend length of Dayselector.
*
* @param[in] length
*
* @see elm_dayselector_weekend_length_set
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekend_length_set(length) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_LENGTH_SET), EO_TYPECHECK(unsigned int, length)
/**
* @def elm_obj_dayselector_weekend_length_get
* @since 1.8
*
* Get the weekend length of Dayselector.
*
* @param[out] ret
*
* @see elm_dayselector_weekend_length_get
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekend_length_get(ret) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKEND_LENGTH_GET), EO_TYPECHECK(unsigned int *, ret)
/**
* @def elm_obj_dayselector_weekdays_names_set
* @since 1.8
*
* Set the weekdays's names
*
* @param[in] weekdays
*
* @see elm_dayselector_weekdays_names_set
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekdays_names_set(weekdays) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKDAYS_NAMES_SET), EO_TYPECHECK(const char **, weekdays)
/**
* @def elm_obj_dayselector_weekdays_names_get
* @since 1.8
*
* Get the weekdays' names
*
* @param[out] ret
*
* @see elm_dayselector_weekdays_names_get
*
* @ingroup Dayselector
*/
#define elm_obj_dayselector_weekdays_names_get(ret) ELM_OBJ_DAYSELECTOR_ID(ELM_OBJ_DAYSELECTOR_SUB_ID_WEEKDAYS_NAMES_GET), EO_TYPECHECK(Eina_List **, ret)
#endif

@ -8,157 +8,4 @@
*/
EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent);
/**
* Set the state of given Dayselector_Day.
*
* @param obj Dayselector object
* @param day Dayselector_Day that the user want to set state.
* @param selected state of the day. @c EINA_TRUE is selected.
*
* @see Elm_Dayselector_Day
* @see elm_dayselector_day_selected_get()
*
* @ingroup Dayselector
*/
EAPI void elm_dayselector_day_selected_set(Evas_Object *obj, Elm_Dayselector_Day day, Eina_Bool selected);
/**
* Get the state of given Dayselector_Day.
*
* @param obj Dayselector object
* @param day Dayselector_Day that the user want to know state.