2.0 alpha
[apps/core/preloaded/calendar.git] / src / edit-alarm.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_ALARM_H__
20 #define __CALENDAR_EDIT_ALARM_H__
21
22 #include "cld.h"
23
24 /* return minutes: -1 = off, 0 = on time, ... */
25 int cal_edit_alarm_get_alarm(Evas_Object *ly);
26
27 void cal_edit_alarm_get_alarm_str(int min, char *buf, int sz);
28 int cal_edit_alarm_get_min(int tick, cal_sch_remind_tick_unit_t unit);
29 void cal_edit_alarm_get_tick(int min, int *tick, cal_sch_remind_tick_unit_t *unit);
30
31 /* BEGIN: Added by Zhong Yuan, 2011/3/25 */
32 Evas_Object *cal_edit_alarm_create_view(Evas_Object *parent, int min, struct appdata* ad);
33 int cal_edit_alarm_get_alarm(Evas_Object *ly);
34
35
36 /* END:   Added by Zhong Yuan, 2011/3/25   PN: */
37
38
39 // TODO: add more...
40
41 #endif /* __CALENDAR_EDIT_ALARM_H__ */
42