/usr/include/elementary-1/elm_calendar_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 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | #define ELM_OBJ_CALENDAR_CLASS elm_obj_calendar_class_get()
const Eo_Class *elm_obj_calendar_class_get(void) EINA_CONST;
extern EAPI Eo_Op ELM_OBJ_CALENDAR_BASE_ID;
enum
{
ELM_OBJ_CALENDAR_SUB_ID_WEEKDAYS_NAMES_SET,
ELM_OBJ_CALENDAR_SUB_ID_WEEKDAYS_NAMES_GET,
ELM_OBJ_CALENDAR_SUB_ID_INTERVAL_SET,
ELM_OBJ_CALENDAR_SUB_ID_INTERVAL_GET,
ELM_OBJ_CALENDAR_SUB_ID_MIN_MAX_YEAR_SET,
ELM_OBJ_CALENDAR_SUB_ID_MIN_MAX_YEAR_GET,
ELM_OBJ_CALENDAR_SUB_ID_SELECTED_TIME_SET,
ELM_OBJ_CALENDAR_SUB_ID_SELECTED_TIME_GET,
ELM_OBJ_CALENDAR_SUB_ID_FORMAT_FUNCTION_SET,
ELM_OBJ_CALENDAR_SUB_ID_MARK_ADD,
ELM_OBJ_CALENDAR_SUB_ID_MARKS_CLEAR,
ELM_OBJ_CALENDAR_SUB_ID_MARKS_GET,
ELM_OBJ_CALENDAR_SUB_ID_MARKS_DRAW,
ELM_OBJ_CALENDAR_SUB_ID_FIRST_DAY_OF_WEEK_SET,
ELM_OBJ_CALENDAR_SUB_ID_FIRST_DAY_OF_WEEK_GET,
ELM_OBJ_CALENDAR_SUB_ID_SELECT_MODE_SET,
ELM_OBJ_CALENDAR_SUB_ID_SELECT_MODE_GET,
ELM_OBJ_CALENDAR_SUB_ID_SELECTABLE_SET,
ELM_OBJ_CALENDAR_SUB_ID_SELECTABLE_GET,
ELM_OBJ_CALENDAR_SUB_ID_DISPLAYED_TIME_GET,
ELM_OBJ_CALENDAR_SUB_ID_LAST
};
#define ELM_OBJ_CALENDAR_ID(sub_id) (ELM_OBJ_CALENDAR_BASE_ID + sub_id)
/**
* @def elm_obj_calendar_weekdays_names_set
* @since 1.8
*
* Set weekdays names to be displayed by the calendar.
*
* @param[in] weekdays
*
* @see elm_calendar_weekdays_names_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_weekdays_names_set(weekdays) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_WEEKDAYS_NAMES_SET), EO_TYPECHECK(const char **, weekdays)
/**
* @def elm_obj_calendar_weekdays_names_get
* @since 1.8
*
* Get weekdays names displayed by the calendar.
*
* @param[out] ret
*
* @see elm_calendar_weekdays_names_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_weekdays_names_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_WEEKDAYS_NAMES_GET), EO_TYPECHECK(const char ***, ret)
/**
* @def elm_obj_calendar_interval_set
* @since 1.8
*
* Set the interval on time updates for an user mouse button hold
*
* @param[in] interval
*
* @see elm_calendar_interval_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_interval_set(interval) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_INTERVAL_SET), EO_TYPECHECK(double, interval)
/**
* @def elm_obj_calendar_interval_get
* @since 1.8
*
* Get the interval on time updates for an user mouse button hold
*
* @param[out] ret
*
* @see elm_calendar_interval_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_interval_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_INTERVAL_GET), EO_TYPECHECK(double *, ret)
/**
* @def elm_obj_calendar_min_max_year_set
* @since 1.8
*
* Set the minimum and maximum values for the year
*
* @param[in] min
* @param[in] max
*
* @see elm_calendar_min_max_year_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_min_max_year_set(min, max) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MIN_MAX_YEAR_SET), EO_TYPECHECK(int, min), EO_TYPECHECK(int, max)
/**
* @def elm_obj_calendar_min_max_year_get
* @since 1.8
*
* Get the minimum and maximum values for the year
*
* @param[out] min
* @param[out] max
*
* @see elm_calendar_min_max_year_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_min_max_year_get(min, max) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MIN_MAX_YEAR_GET), EO_TYPECHECK(int *, min), EO_TYPECHECK(int *, max)
/**
* @def elm_obj_calendar_selected_time_set
* @since 1.8
*
* Set selected date to be highlighted on calendar.
*
* @param[in] selected_time
*
* @see elm_calendar_selected_time_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_selected_time_set(selected_time) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECTED_TIME_SET), EO_TYPECHECK(struct tm *, selected_time)
/**
* @def elm_obj_calendar_selected_time_get
* @since 1.8
*
* Get selected date.
*
* @param[out] selected_time
* @param[out] ret
*
* @see elm_calendar_selected_time_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_selected_time_get(selected_time, ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECTED_TIME_GET), EO_TYPECHECK(struct tm *, selected_time), EO_TYPECHECK(Eina_Bool *, ret)
/**
* @def elm_obj_calendar_format_function_set
* @since 1.8
*
* Set a function to format the string that will be used to display
* to display month and year.
*
* @param[in] format_function
*
* @see elm_calendar_format_function_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_format_function_set(format_function) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_FORMAT_FUNCTION_SET), EO_TYPECHECK(Elm_Calendar_Format_Cb, format_function)
/**
* @def elm_obj_calendar_mark_add
* @since 1.8
*
* Add a new mark to the calendar
*
* @param[in] mark_type
* @param[in] mark_time
* @param[in] repeat
* @param[out] ret
*
* @see elm_calendar_mark_add
*
* @ingroup Calendar
*/
#define elm_obj_calendar_mark_add(mark_type, mark_time, repeat, ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MARK_ADD), EO_TYPECHECK(const char *, mark_type), EO_TYPECHECK(struct tm *, mark_time), EO_TYPECHECK(Elm_Calendar_Mark_Repeat_Type, repeat), EO_TYPECHECK(Elm_Calendar_Mark **, ret)
/**
* @def elm_obj_calendar_marks_clear
* @since 1.8
*
* Remove all calendar's marks
*
*
* @see elm_calendar_marks_clear
*
* @ingroup Calendar
*/
#define elm_obj_calendar_marks_clear() ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MARKS_CLEAR)
/**
* @def elm_obj_calendar_marks_get
* @since 1.8
*
* Get a list of all the calendar marks.
*
* @param[out] ret
*
* @see elm_calendar_marks_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_marks_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MARKS_GET), EO_TYPECHECK(const Eina_List **, ret)
/**
* @def elm_obj_calendar_marks_draw
* @since 1.8
*
* Draw calendar marks.
*
*
* @see elm_calendar_marks_draw
*
* @ingroup Calendar
*/
#define elm_obj_calendar_marks_draw() ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_MARKS_DRAW)
/**
* @def elm_obj_calendar_first_day_of_week_set
* @since 1.8
*
* Set the first day of week to use on calendar widgets'.
*
* @param[in] day
*
* @see elm_calendar_first_day_of_week_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_first_day_of_week_set(day) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_FIRST_DAY_OF_WEEK_SET), EO_TYPECHECK(Elm_Calendar_Weekday, day)
/**
* @def elm_obj_calendar_first_day_of_week_get
* @since 1.8
*
* Get the first day of week, who are used on calendar widgets'.
*
* @param[out] ret
*
* @see elm_calendar_first_day_of_week_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_first_day_of_week_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_FIRST_DAY_OF_WEEK_GET), EO_TYPECHECK(Elm_Calendar_Weekday *, ret)
/**
* @def elm_obj_calendar_select_mode_set
* @since 1.8
*
* Set select day mode to use.
*
* @param[in] mode
*
* @see elm_calendar_select_mode_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_select_mode_set(mode) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECT_MODE_SET), EO_TYPECHECK(Elm_Calendar_Select_Mode, mode)
/**
* @def elm_obj_calendar_select_mode_get
* @since 1.8
*
* Get the select day mode used.
*
* @param[out] ret
*
* @see elm_calendar_select_mode_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_select_mode_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECT_MODE_GET), EO_TYPECHECK(Elm_Calendar_Select_Mode *, ret)
/**
* @def elm_obj_calendar_selectable_set
* @since 1.8
*
* Define which fields of a tm struct will be taken into account, when
* elm_calendar_selected_time_set() is invoked.
*
* @param[in] selectable
*
* @see elm_calendar_selectable_set
*
* @ingroup Calendar
*/
#define elm_obj_calendar_selectable_set(selectable) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECTABLE_SET), EO_TYPECHECK(Elm_Calendar_Selectable, selectable)
/**
* @def elm_obj_calendar_selectable_get
* @since 1.8
*
* Get how elm_calendar_selected_time_set manage a date
*
* @param[out] ret
*
* @see elm_calendar_selectable_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_selectable_get(ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_SELECTABLE_GET), EO_TYPECHECK(Elm_Calendar_Selectable *, ret)
/**
* @def elm_obj_calendar_displayed_time_get
* @since 1.8
*
* Get the current time displayed in the widget
*
* @param[out] displayed_time
* @param[out] ret
*
* @see elm_calendar_displayed_time_get
*
* @ingroup Calendar
*/
#define elm_obj_calendar_displayed_time_get(displayed_time, ret) ELM_OBJ_CALENDAR_ID(ELM_OBJ_CALENDAR_SUB_ID_DISPLAYED_TIME_GET), EO_TYPECHECK(struct tm *, displayed_time), EO_TYPECHECK(Eina_Bool *, ret)
|