4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Kyuho Jo <kyuho.jo@samsung.com>, Sunghyun Kwon <sh0701.kwon@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 #include <vconf-keys.h>
25 #include <mm_player.h>
27 #include <mm_session_private.h>
28 #include <devman_haptic.h>
37 EMAIL_ALERT_VIBE_STENGTH,
42 EMAIL_ALERT_TYPE_MELODY,
44 EMAIL_ALERT_TYPE_MELODY_AND_VIB,
45 EMAIL_ALERT_TYPE_MUTE,
50 EMAIL_GCONF_VALUE_REPEAT_NONE = 0,
51 EMAIL_GCONF_VALUE_REPEAT_2MINS,
52 EMAIL_GCONF_VALUE_REPEAT_5MINS,
53 EMAIL_GCONF_VALUE_REPEAT_10MINS,
54 } EMAIL_ALERT_REPEAT_ALARM;
60 INTERNAL_FUNC int emcore_start_alert_thread(int *err_code);
61 INTERNAL_FUNC void emcore_start_alert();