4 * Copyright 2012 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://floralicense.org/license/
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __PWLOCK_UI_H__
21 #define __PWLOCK_UI_H__
25 #define PWLOCK_PASSWORD_MIN_LENGTH 4
26 #define PWLOCK_PIN_PASSWORD_MAX_LENGTH 8
27 #define PWLOCK_PHONE_PASSWORD_MAX_LENGTH 16
37 _UI_NETWORK_LOCK_NSCK,
38 _UI_NETWORK_LOCK_SPCK,
40 _UI_LANG, //skipable view starts from here
54 int show_splash_screen(struct appdata *ad);
55 int show_greeting(struct appdata *ad);
56 int show_connection(struct appdata *ad);
57 int show_tutorial(struct appdata *ad);
58 void show_pin(struct appdata *ad);
59 void show_puk(struct appdata *ad);
60 void show_puk_pin(struct appdata *ad);
61 void show_block(struct appdata *ad);
62 void show_sim_lock(struct appdata *ad);
63 int show_lang(struct appdata *ad);
64 int show_nosim(struct appdata *ad);
65 int show_time(struct appdata *ad);
66 int show_keyboard_setting(struct appdata *ad);
67 int show_finish(struct appdata *ad);
68 int show_dialer(struct appdata *ad);
70 void pwlock_destroy(struct appdata *ad);
71 void load_main(struct appdata *ad, int ui_type);
73 void show_msg(struct appdata *ad, int strid);
74 void clear_entry(struct appdata *ad);
75 void _show_popup(void *data, char *msg_str);
76 void show_popup_accesibility(struct appdata *ad);
77 void show_popup(struct appdata *ad, const char *mesg, Eina_Bool mode);
78 void show_popup_ask_exit(struct appdata *ad, const char *mesg);
79 void show_waiting_popup(struct appdata *ad, const char *msg_str);
80 void remove_waiting_popup(struct appdata *ad);
81 Eina_Bool show_puk_do(void *data);
82 void update_pw_entry(struct appdata *ad, char *input_data);
84 Evas_Object *pwlock_add_layout_from_edj(Evas_Object *parent, const char *file,
86 #endif /* __PWLOCK_UI_H__ */