Move u3 code to top-level directory since it's not GTK specific

svn path=/trunk/; revision=35046
This commit is contained in:
Stephen Fisher 2010-11-28 00:15:21 +00:00
parent 46356d715c
commit eda0f472c9
7 changed files with 10 additions and 10 deletions

View File

@ -151,7 +151,8 @@ wireshark_SOURCES = \
merge.c \
proto_hier_stats.c \
summary.c \
tempfile.c
tempfile.c \
u3.c
# corresponding headers
wireshark_INCLUDES = \
@ -175,6 +176,7 @@ wireshark_INCLUDES = \
stat_menu.h \
summary.h \
sync_pipe.h \
u3.h \
ui_util.h
# tshark specifics

View File

@ -136,7 +136,6 @@ WIRESHARK_GTK_SRC = \
tap_dfilter_dlg.c \
text_import.c \
text_page_utils.c \
u3.c \
uat_gui.c \
voip_calls.c \
webbrowser.c
@ -327,7 +326,6 @@ noinst_HEADERS = \
text_import.h \
text_import_scanner.h \
text_page_utils.h \
u3.h \
uat_gui.h \
utf8_entities.h \
voip_calls.h \

View File

@ -104,6 +104,7 @@
#include "../merge.h"
#include "../alert_box.h"
#include "../log.h"
#include "../u3.h"
#include <wsutil/file_util.h>
#ifdef HAVE_LIBPCAP
@ -131,7 +132,6 @@
#include "gtk/color_dlg.h"
#include "gtk/filter_dlg.h"
#include "gtk/uat_gui.h"
#include "gtk/u3.h"
#include "gtk/main.h"
#include "gtk/main_airpcap_toolbar.h"
#include "gtk/main_filter_toolbar.h"

View File

@ -51,6 +51,7 @@
#include "../main_statusbar.h"
#include "../color_filters.h"
#include "../stat_menu.h"
#include "../u3.h"
#include "gtk/about_dlg.h"
#include "gtk/capture_dlg.h"
@ -85,7 +86,6 @@
#include "gtk/packet_history.h"
#include "gtk/sctp_stat.h"
#include "gtk/firewall_dlg.h"
#include "gtk/u3.h"
#include "gtk/macros_dlg.h"
#include "gtk/export_object.h"
#include "gtk/gui_stat_menu.h"

View File

@ -40,6 +40,7 @@
#include <epan/column.h>
#include "../simple_dialog.h"
#include "../u3.h"
#include <wsutil/file_util.h>
#include "gtk/recent.h"
@ -53,7 +54,6 @@
#endif /*NEW_PACKET_LIST */
#include "gtk/file_dlg.h"
#include "gtk/cfilter_combo_utils.h"
#include "gtk/u3.h"
#ifdef HAVE_PCAP_REMOTE
#include "gtk/capture_dlg.h"

View File

@ -50,7 +50,7 @@
#include <epan/filesystem.h>
#include <gtk/u3.h>
#include "u3.h"
#define U3_DEVICE_PATH_VAR "$U3_DEVICE_PATH"

View File

@ -22,8 +22,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __GTK_U3_H__
#define __GTK_U3_H__
#ifndef __U3_H__
#define __U3_H__
gboolean u3_active(void);
@ -35,4 +35,4 @@ void u3_deregister_pid(void);
char * u3_expand_device_path(char *path);
char * u3_contract_device_path(char *path);
#endif /* __GTK_U3_H__ */
#endif /* __U3_H__ */