move statusbar related code from main.c into it's own main_statusbar.c
[obnox/wireshark/wip.git] / gtk / capture_dlg.h
1 /* capture_dlg.h
2  * Definitions for packet capture windows
3  *
4  * $Id$
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __CAPTURE_DLG_H__
27 #define __CAPTURE_DLG_H__
28
29 extern GtkWidget* airpcap_tb;
30
31 /** @file
32  *  "Capture Options" dialog box.
33  *  @ingroup dialog_group
34  */
35
36 /** User requested the "Capture Options" dialog box by menu or toolbar.
37  *
38  * @param widget parent widget (unused)
39  * @param data unused
40  */
41 void capture_prep_cb(GtkWidget *widget, gpointer data);
42
43 /** User requested capture start by menu or toolbar.
44  *
45  * @param widget parent widget (unused)
46  * @param data unused
47  */
48 void capture_start_cb(GtkWidget *widget, gpointer data);
49
50 /** User requested capture stop by menu or toolbar.
51  *
52  * @param widget parent widget (unused)
53  * @param data unused
54  */
55 void capture_stop_cb(GtkWidget *widget, gpointer data);
56
57 /** User requested capture restart by menu or toolbar.
58  *
59  * @param widget parent widget (unused)
60  * @param data unused
61  */
62 void capture_restart_cb(GtkWidget *widget, gpointer data);
63
64 /* capture start confirmed by "Save unsaved capture", so do it now */
65 void capture_start_confirmed(void);
66
67 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
68  *
69  * @param widget parent widget (unused)
70  * @param data unused
71  */
72 void
73 capture_if_cb(GtkWidget *widget, gpointer data);
74
75 /** User requested the "Capture Airpcap" dialog box by menu or toolbar.
76  *
77  * @param widget parent widget (unused)
78  * @param data unused
79  */
80 void
81 capture_air_cb(GtkWidget *widget, gpointer data);
82
83 /** User requested the "Capture Interfaces" dialog box by menu or toolbar.
84  *
85  * @param capture_in_progress capture is in progress
86  */
87 void
88 set_capture_if_dialog_for_capture_in_progress(gboolean capture_in_progress);
89
90 #endif /* capture_dlg.h */