2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __MODE_SYSPOPUP_ALARMMGR_H__
18 #define __MODE_SYSPOPUP_ALARMMGR_H__
24 #include <mode-syspopup.h>
26 #define SETTING_BM_ALARM_APP "org.tizen.setting-blockingmode-alarm"
28 typedef struct mode_bm_alarm_data MODE_BM_AData;
29 struct mode_bm_alarm_data {
30 int alarm_mgr_id; /**< index from alarm-manager */
35 #define SET_BM_TIME_DATA_T(pTime_data, YEAR, MONTH, DAY, HOUR, MIN, SEC) \
37 (pTime_data)->year = (YEAR);\
38 (pTime_data)->month = (MONTH);\
39 (pTime_data)->day = (DAY);\
40 (pTime_data)->hour = (HOUR);\
41 (pTime_data)->min = (MIN);\
42 (pTime_data)->sec = (SEC);\
45 int mode_syspopup_alarmmgr_create(MODE_BM_AData *alarm);
46 int mode_syspopup_alarmmgr_remove(MODE_BM_AData *alarm);
47 int mode_syspopup_alarmmgr_update(MODE_BM_AData *alarm);
49 #endif //__MODE_SYSPOPUP_ALARMMGR_H__