summaryrefslogtreecommitdiff
path: root/src/lib/elm_calendar_common.h
blob: 08f52f87532f72814340b23e07824704baec53c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * @addtogroup Calendar
 *
 * @{
 */

/**
 * This callback type is used to format the string that will be used
 * to display month and year.
 *
 * @param stime Struct representing time.
 * @return String representing time that will be set to calendar's text.
 *
 * @see elm_calendar_format_function_set()
 */
typedef char * (*Elm_Calendar_Format_Cb)(struct tm *stime);

/* temporary until better solution is found: is here because of eolian */
typedef struct tm Elm_Calendar_Time;

/**
 * @}
 */