3 * Copyright 2012 Samsung Electronics Co., Ltd
\r
5 * Licensed under the Flora License, Version 1.1 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://floralicense.org/license/
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 #ifndef __CALENDAR_DAY_EVENT_DATA_H__
\r
19 #define __CALENDAR_DAY_EVENT_DATA_H__
\r
21 #include "base-data.h"
\r
23 #define EVEN_SLICE_MAX_EVENT_COUNT 8
\r
25 typedef void* cal_day_event_data_h;
\r
26 typedef void* cal_day_event_data_event_h;
\r
27 typedef Eina_Bool(* cal_day_event_data_foreach_query_event_cb)(cal_day_event_data_event_h event_data, void *user_data);
\r
29 cal_day_event_data_h cal_day_event_data_create(struct appdata *ad);
\r
31 calendar_record_h cal_day_event_data_get_event_record(cal_day_event_data_event_h event_data);
\r
33 void cal_day_event_data_sort(cal_day_event_data_h day_event_data, cal_day_event_data_event_h event_data_h);
\r
35 void cal_day_event_data_update_event(cal_day_event_data_h day_event_data, cal_day_event_data_event_h event_data_h, int line_index, int height);
\r