Merge "[Feature] modify the package name from com.samsung.setting to org.tizen.settin...
[apps/core/preloaded/settings.git] / setting-password / include / setting-password-main.h
1 /*
2  * setting
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
5  *
6  * Contact: MyoungJune Park <mj2004.park@samsung.com>
7  * 
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
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
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.
19  *
20  */
21 #ifndef _SETTING_PASSWORD_MAIN_H_
22 #define _SETTING_PASSWORD_MAIN_H_
23
24 #include <setting-password.h>
25
26 static int setting_password_main_create_ui(void *data);
27
28 /* for simple password */
29 static int setting_password_main_draw_simple_password(void *data, int title_index);
30 static int setting_password_main_check_simple_password(const char *collection);
31 static int setting_password_main_draw_next_simple_password(void *data, int title_index);
32 /* end */
33
34 static int setting_password_main_draw_1line_password(void *data, void *cb);
35 static int setting_password_main_draw_2line_password(void *data, void *cb);
36 static int setting_password_main_draw_3line_password(void *data, void *cb);
37 static int setting_password_main_clear_1line_password(void *data);
38 static int setting_password_main_clear_2line_password(void *data);
39 static int setting_password_main_clear_3line_password(void *data);
40 static int setting_password_main_check_1line_password(void *data);
41 static int setting_password_main_check_2line_password(void *data);
42 static int setting_password_main_check_3line_password(void *data);
43
44 static void setting_password_main_click_softkey_done_cb(void *data,
45                                                         Evas_Object *obj,
46                                                         void *event_info);
47 static void setting_password_main_click_softkey_cancel_cb(void *data,
48                                                           Evas_Object *obj,
49                                                           void *event_info);
50 static void setting_password_main_warning_entry_added_byte_popup(SettingPasswordUG *ad,
51                                                      int min, int max);
52
53 #endif