diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-08-31 23:13:43 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-08-31 23:13:43 +0000 |
commit | cf4ac2931e668bc2c554cee182312dc534f1efe2 (patch) | |
tree | ce3ff833fcf3be9175d20927e4fe073f3eb9be07 /ui/qt/qt_ui_utils.h | |
parent | d6ce6168bb85fc0fe41e6013bce6905bb1c583b3 (diff) |
Fix compilation on Windows.
The moc man page says "The moc does not expand #include or #define,
it simply skips any preprocessor directives it encounters." This means
our signals and slots have to exist everywhere, even if they're empty
on some platforms.
Remove some duplicate definitions.
svn path=/trunk/; revision=44716
Diffstat (limited to 'ui/qt/qt_ui_utils.h')
-rw-r--r-- | ui/qt/qt_ui_utils.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ui/qt/qt_ui_utils.h b/ui/qt/qt_ui_utils.h index 6b85529b41..ad3fb4261f 100644 --- a/ui/qt/qt_ui_utils.h +++ b/ui/qt/qt_ui_utils.h @@ -42,17 +42,17 @@ extern "C" { #define RECENT_KEY_CAPTURE_FILE "recent.capture_file" #define RECENT_KEY_REMOTE_HOST "recent.remote_host" -/* Type of capture source */ -typedef enum { - CAPTURE_IFLOCAL, /**< Local network interface */ - CAPTURE_IFREMOTE /**< Remote network interface */ -} capture_source; +///* Type of capture source */ +//typedef enum { +// CAPTURE_IFLOCAL, /**< Local network interface */ +// CAPTURE_IFREMOTE /**< Remote network interface */ +//} capture_source; -/* Type of RPCAPD Authentication */ -typedef enum { - CAPTURE_AUTH_NULL, /**< No authentication */ - CAPTURE_AUTH_PWD /**< User/password authentication */ -} capture_auth; +///* Type of RPCAPD Authentication */ +//typedef enum { +// CAPTURE_AUTH_NULL, /**< No authentication */ +// CAPTURE_AUTH_PWD /**< User/password authentication */ +//} capture_auth; struct remote_host_t { gchar *remote_host; /**< Host name or network address for remote capturing */ |