Initialize
[sdk/emulator/qemu.git] / tizen / src / option.h
1 /*
2  * Emulator
3  *
4  * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: 
7  * DoHyung Hong <don.hong@samsung.com>
8  * SeokYeon Hwang <syeon.hwang@samsung.com>
9  * Hyunjun Son <hj79.son@samsung.com>
10  * SangJin Kim <sangjin3.kim@samsung.com>
11  * MunKyu Im <munkyu.im@samsung.com>
12  * KiTae Kim <kt920.kim@samsung.com>
13  * JinHyung Jo <jinhyung.jo@samsung.com>
14  * SungMin Ha <sungmin82.ha@samsung.com>
15  * JiHye Kim <jihye1128.kim@samsung.com>
16  * GiWoong Kim <giwoong.kim@samsung.com>
17  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
18  * DongKyun Yun <dk77.yun@samsung.com>
19  *
20  * This program is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU General Public License
22  * as published by the Free Software Foundation; either version 2
23  * of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28  * GNU General Public License for more details.
29  *
30  * You should have received a copy of the GNU General Public License
31  * along with this program; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
33  *
34  * Contributors:
35  * - S-Core Co., Ltd
36  *
37  */
38
39 #ifndef __OPTION_H__
40 #define __OPTION_H__
41
42 #include <gtk/gtk.h>
43 #include <gdk/gdkkeysyms.h>
44 #include <glib.h>
45 #include <glib-object.h>
46 #include <libxml/xmlmemory.h>
47 #include <libxml/parser.h>
48 #include <libxml/tree.h>
49 #include <libgen.h>
50 #ifndef _WIN32
51 #include <error.h>
52 #endif
53 #include <sys/types.h>
54 #include <dirent.h>
55 #include <unistd.h>
56 #include <stdio.h>
57 #include <stdlib.h>
58 #include <string.h>
59
60 #include "option_callback.h"
61 #include "emulator.h"
62
63 extern GtkWidget *entry_user_cmd;
64 extern GtkWidget *frame_buffer_entry;
65 extern CONFIGURATION preference_entrys;
66
67 GtkWidget *create_option_frame(GtkWidget *parent, gchar *frame_name); /* option total frame ui */
68 void create_config_frame(GtkWidget *vbox);
69 void create_config_button(GtkWidget *vbox);
70 void create_config_page(GtkWidget *parent);
71 int show_config_window(GtkWidget *parent);
72
73 int search_target(char *directory_name, char *target_name);
74 int gethostDNS(char *dns1, char *dns2);
75 int gethostproxy(char *proxy);
76 int gethostIP(char *host_ip);
77 #endif
78