3 * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef __ODE_PASSWORD_H__
19 #define __ODE_PASSWORD_H__
25 #include <app_common.h>
26 #include <Elementary.h>
30 #include "ode-app-widget.h"
37 INTERNAL_ENCRYPT_PASSWORD,
38 INTERNAL_DECRYPT_PASSWORD,
45 void (*callback)(void *user_data);
47 char entry_data_old[PATH_MAX];
48 char entry_data[PATH_MAX];
51 void create_password_message_popup(popup_data_s *data);
52 void create_enter_password_popup(popup_data_s *data);
53 void create_confirm_password_popup(popup_data_s *data);
54 void create_delete_password_popup(popup_data_s *data);
55 void create_insert_sdcard_popup(popup_data_s *data);
56 void create_reset_sdcard_popup(popup_data_s *data);
58 void on_create_password_popup(Evas_Object *parent);
59 void on_delete_password_popup(Evas_Object *parent);
60 void on_change_password_popup(Evas_Object *parent);
61 void on_insert_sdcard_popup(Evas_Object *parent);
63 void password_popup_set_result_callback(void (*callback)(void *), void *user_data);
64 void password_result_callback(popup_data_s *data, const char *result);
66 #endif /* __ODE_PASSWORD_H__ */