2 * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 __MISSED_EVENT_H__
18 #define __MISSED_EVENT_H__
20 #define LOCK_CONTEXTUAL_MISSED_EVENT_TYPE_KEY "__missed_event_type__"
21 #define LOCK_CONTEXTUAL_MISSED_EVENT_IS_SELECTED_KEY "__missed_event_is_selected_type__"
22 #define LOCK_CONTEXTUAL_MISSED_EVENT_BUNDLE_KEY "__missed_event_bundle__"
24 #define APP_NAME_CALL "org.tizen.phone"
25 #define APP_NAME_CONTACTS "org.tizen.contacts"
26 #define APP_NAME_MSG "org.tizen.message"
28 #define ICON_PATH_MISSED_EVENT_MSG "/usr/apps/org.tizen.quickpanel/shared/res/noti_icons/Contact/noti_contact_default.png"
29 #define ICON_PATH_MISSED_EVENT_CALL ICON_PATH_MISSED_EVENT_MSG
32 LOCK_MISSED_EVENT_TYPE_NONE = 0,
33 LOCK_MISSED_EVENT_TYPE_CALL = 1,
34 LOCK_MISSED_EVENT_TYPE_MSG = 2,
35 LOCK_MISSED_EVENT_TYPE_MAX,
36 } missed_event_type_e;
38 Evas_Object *lock_missed_event_selected_item_get(void);
40 void lock_missed_event_item_launch(void);
41 void lock_missed_event_item_disabled_set(Eina_Bool disabled);
42 void lock_missed_event_item_selected_unset(void);
43 void lock_missed_event_item_destroy(Evas_Object *item);
45 lock_error_e lock_missed_event_noti_cb_register(void);
46 void lock_missed_event_noti_cb_unregister(void);