upload codes for TIZEN 2.0
[apps/home/clock.git] / alarm / include / alarm_fwk_widget.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 __ALARM_FWK_WIDGET_H__
20 #define __ALARM_FWK_WIDGET_H__
21 #include "clock_fwk_widget.h"
22
23 //
24 typedef enum {
25         ALM_POPUP_ID_TEXT_TOO_LONG = 1,
26         ALM_POPUP_ID_NAME_NULL,
27         ALM_POPUP_ID_MORNINGCALL_NOT_CREATED,
28         ALM_POPUP_ID_TIME_INVALID,
29         ALM_POPUP_ID_ALARMMGR,
30         ALM_POPUP_ID_ALARMDB,
31         ALM_POPUP_ID_MAX,
32 } ALM_POPUP_ID;
33
34 Evas_Object *alm_widget_create_datefield(Evas_Object *parent, time_t ctime);
35 Evas_Object *alm_widget_create_datefield_with_text(Evas_Object *parent,
36                                                    char *title,
37                                                    Evas_Object **pDatefield,
38                                                    time_t ctime);
39 void alm_widget_create_popup(Evas_Object *parent, ALM_POPUP_ID id);
40
41 #endif                          //__ALARM_FWK_WIDGET_H__