/usr/include/elementary-1/elm_datetime_eo.h is in libelementary-dev 1.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | #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 field.
*
* @param[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[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[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)
|