Tizen 2.0 Release
[apps/home/settings.git] / setting-connectivity / include / setting-connectivity-usb.h
1 /*
2  * setting
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Flora License, Version 1.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
8  *
9  *     http://floralicense.org/license/
10  *
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.
16  */
17 #ifndef __SETTING_CONNECTIVITY_USB_H__
18 #define __SETTING_CONNECTIVITY_USB_H__
19
20 #include <setting-connectivity.h>
21 #include <devman.h>
22
23 #define NUM_PROGRESSBAR 4
24
25 #define SETTING_USB_DEBUGGING_DESC "IDS_ST_BODY_DEBUGGING_MODE_LAUNCHES_WHEN_USB_IS_CONNECTED"
26
27 enum progressbar_status {
28         STATE_NONE = 0x00,
29         STATE_PROGRESSBAR
30 };
31
32 typedef struct _button_status button_status;
33
34 struct _button_status {
35         Evas_Object *progressbar;       /*  progressbar */
36         Elm_Object_Item *item;  /*  button */
37         int pstate;             /*  progressbar status to show or hide */
38 };
39
40 static void setting_connectivity_usb_click_softkey_cancel_cb(void *data,
41                                                              Evas_Object *obj,
42                                                              void *event_info);
43 #ifdef HELP_UG_EXIST
44 static void setting_connectivity_usb_click_softkey_set_cb(void *data,
45                                                           Evas_Object *obj,
46                                                           void *event_info);
47 #endif
48
49 #endif                          /* __SETTING_CONNECTIVITY_USB_H__ */