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.
18 #ifndef __PHONE_LOCK_VIEW_H__
19 #define __PHONE_LOCK_VIEW_H__
21 #include <Elementary.h>
23 typedef struct _phone_lock_view_data phone_lock_view_data_t;
25 typedef void (*phone_lock_view_cbfunc) (int, const char *, void *);
27 typedef enum _phone_lock_view_type {
29 PHONE_LOCK_VIEW_TYPE_PHONE_LOCK = 0,
30 PHONE_LOCK_VIEW_TYPE_PIN_LOCK,
31 PHONE_LOCK_VIEW_TYPE_PHONE_MAX,
32 } phone_lock_view_type_t;
34 typedef enum _phone_lock_window_type {
35 PHONE_LOCK_WINDOW_TYPE_NORMAL = 0,
36 PHONE_LOCK_WINDOW_TYPE_ALPHA,
37 } phone_lock_window_type_t;
39 typedef enum _phone_lock_view_password_type {
40 PHONE_LOCK_VIEW_COMPLEX_PHONE_LOCK = 0,
41 PHONE_LOCK_VIEW_SIMPLE_PHONE_LOCK
42 } phone_lock_view_password_type_t;
44 typedef enum _phone_lock_view_info_align_type {
45 PHONE_LOCK_VIEW_ALIGN_LEFT = 0,
46 PHONE_LOCK_VIEW_ALIGN_CENTER,
47 PHONE_LOCK_VIEW_ALIGN_RIGHT
48 } phone_lock_view_info_align_type_t;
50 phone_lock_view_data_t *phone_lock_view_create(phone_lock_view_type_t view_type,
51 phone_lock_window_type_t
53 Evas_Object * win_main,
54 phone_lock_view_cbfunc func,
57 void phone_lock_view_destroy(phone_lock_view_data_t * phone_lock_view_data);
59 Evas_Object *phone_lock_view_get_layoutmain(phone_lock_view_data_t *
60 phone_lock_view_data);
62 phone_lock_view_type_t
63 phone_lock_view_get_type(phone_lock_view_data_t * phone_lock_view_data);
65 phone_lock_window_type_t
66 phone_lock_window_get_type(phone_lock_view_data_t * phone_lock_view_data);
69 phone_lock_view_show_msg(phone_lock_view_data_t * phone_lock_view_data,
72 void phone_lock_view_check_attempts_left(void *data);
73 void phone_lock_view_reset_callug_launch_flag(void *data);
74 void phone_lock_view_set_right_password_flag(void *data);
75 void phone_lock_view_reset_attempts_num(void *data);
76 void phone_lock_view_hide_imf_context_input_panel(void *data);
77 void phone_lock_view_show_imf_context_input_panel(void *data);
79 #endif /* __PHONE_LOCK_VIEW_H__ */