2.0 alpha
[apps/core/preloaded/calendar.git] / src / edit-repeat.h
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
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
8   *
9   *       http://www.tizenopensource.org/license
10   *
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.
16   */
17
18
19 #ifndef __CALENDAR_EDIT_REPEAT_H__
20 #define __CALENDAR_EDIT_REPEAT_H__
21
22 #include "cld.h"
23
24 /* Return layout */
25 Evas_Object *edit_repeat_create(Evas_Object *parent, Evas_Object *nv, enum cals_freq term, int num, struct tm* until, int* occurrency, int flag, Evas_Object *win);
26 Evas_Object *cal_edit_repeat_create_view(Evas_Object *parent, struct appdata* ad, int freq, enum cals_range range, struct tm* start_date_time, struct tm* until, int* occurrency);
27
28 /* return term: enum cals_freq, flag is for weekly */
29 int cal_edit_repeat_get_repeat(Evas_Object *ly, enum cals_range *range, struct tm *until, int *occurrency);
30
31 void _cal_edit_repeat_get_freq_str(int freq, char *buf, int size);
32
33
34 #endif /* __CALENDAR_EDIT_REPEAT_H__ */
35