3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://floralicense.org/license/
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 #ifndef __CALENDAR_EDIT_REPEAT_H__
20 #define __CALENDAR_EDIT_REPEAT_H__
24 typedef void (*cal_edit_repeat_destroy_callback)(void *data);
27 Evas_Object *cal_edit_repeat_create_view(Evas_Object *window, Evas_Object *conformant, Evas_Object *naviframe,
28 int freq, calendar_range_type_e range, struct tm* start_date_time, struct tm* until, int* occurrency,
29 cal_edit_repeat_destroy_callback callback_func, void *callback_data);
31 /* return term: enum cals_freq, flag is for weekly */
32 int cal_edit_repeat_get_repeat(Evas_Object *ly, calendar_range_type_e *range, struct tm *until, int *occurrency);
34 void _cal_edit_repeat_get_freq_str(int freq, char *buf, int size);
37 #endif /* __CALENDAR_EDIT_REPEAT_H__ */