tizen 2.3 release
[apps/home/settings.git] / setting-connectivity / include / setting-connectivity-usb.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_CONNECTIVITY_USB_H__
22 #define __SETTING_CONNECTIVITY_USB_H__
23
24 #include <setting-connectivity.h>
25
26 #define NUM_PROGRESSBAR 4
27
28 #define SETTING_USB_DEBUGGING_DESC "IDS_ST_BODY_DEBUGGING_MODE_LAUNCHES_WHEN_USB_IS_CONNECTED"
29
30 enum progressbar_status {
31         STATE_NONE = 0x00,
32         STATE_PROGRESSBAR
33 };
34
35 typedef struct _button_status button_status;
36
37 struct _button_status {
38         Evas_Object *progressbar;       /*  progressbar */
39         Elm_Object_Item *item;  /*  button */
40         int pstate;             /*  progressbar status to show or hide */
41 };
42
43 static void setting_connectivity_usb_click_softkey_cancel_cb(void *data,
44                                                              Evas_Object *obj,
45                                                              void *event_info);
46 #ifdef HELP_UG_EXIST
47 static void setting_connectivity_usb_click_softkey_set_cb(void *data,
48                                                           Evas_Object *obj,
49                                                           void *event_info);
50 #endif
51
52 #endif                          /* __SETTING_CONNECTIVITY_USB_H__ */