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.
23 #include <appcore-efl.h>
25 #include <Elementary.h>
29 #include <notification.h>
33 #define PACKAGE "usb-printer-detector"
34 #define EDJ_NAME RESDIR"/edje/usb-printer-detector.edj"
35 #define LOCALEDIR "/opt/usr/apps/org.tizen.usb-printer-detector/res/locale"
36 #define UPD_STR_MAX_LEN 128
48 UPD_PROG_CONNECT_CANCEL,
50 UPD_NOTI_DISCONNECTED,
53 // UPD_BROWSE_FILES_REQ,
59 UPD_RESP_APRV_CONNECT_PBC_YES = 1,
60 UPD_RESP_APRV_CONNECT_DISPLAY_YES,
61 UPD_RESP_APRV_CONNECT_KEYPAD_YES,
62 UPD_RESP_APRV_CONNECT_NO,
63 UPD_RESP_PROG_CONNECT_CANCEL,
64 UPD_RESP_PROG_CONNECT_KEYPAD_OK,
65 UPD_RESP_APRV_ENTER_PIN_YES,
66 UPD_RESP_APRV_ENTER_PIN_NO,
73 char text[UPD_STR_MAX_LEN];
74 char label1[UPD_STR_MAX_LEN];
75 char label2[UPD_STR_MAX_LEN];
85 Evas_Object *pin_entry;
86 upd_popup_t *popup_data;
87 uint popup_timeout_handle;
92 extern upd_appdata_t *upd_get_appdata();
93 extern void upd_destroy_popup();
94 extern void upd_prepare_popup(int type, void *userdata);
96 #endif /* __UPD_H__ */