64874db053242e01ffbbe964a3b9fd4bffff4283
[gd/wireshark/.git] / ui / main_statusbar.h
1 /* main_statusbar.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later*/
8
9 #ifndef __MAIN_STATUSBAR_H__
10 #define __MAIN_STATUSBAR_H__
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif /* __cplusplus */
15
16 void profile_bar_update(void);
17 void packets_bar_update(void);
18 void status_expert_update(void);
19
20 /** Update the capture comment icon in the statusbar, depending on the
21  *  current capture comment (XXX - it's only available for GTK at the moment)
22  */
23 void status_capture_comment_update(void);
24
25 /** Push a formatted message referring to the currently-selected field
26  * onto the statusbar.
27  *
28  * @param msg_format The format string for the message
29  */
30 void statusbar_push_field_msg(const gchar *msg_format, ...)
31     G_GNUC_PRINTF(1, 2);
32
33 /** Pop a message referring to the currently-selected field off the statusbar.
34  */
35 void statusbar_pop_field_msg(void);
36
37 /** Push a formatted message referring to the current filter onto the
38  * statusbar.
39  *
40  * @param msg_format The format string for the message
41  */
42 void statusbar_push_filter_msg(const gchar *msg_format, ...)
43     G_GNUC_PRINTF(1, 2);
44
45 /** Pop a message referring to the current filter off the statusbar.
46  */
47 void statusbar_pop_filter_msg(void);
48
49 /** Push a formatted temporary message onto the statusbar. The message
50  * is automatically removed at a later interval.
51  *
52  * @param msg_format The format string for the message
53  */
54 void statusbar_push_temporary_msg(const gchar *msg_format, ...)
55     G_GNUC_PRINTF(1, 2);
56
57 #ifdef __cplusplus
58 }
59 #endif /* __cplusplus */
60
61 #endif /* __MAIN_STATUSBAR_H__ */
62
63 /*
64  * Editor modelines
65  *
66  * Local Variables:
67  * c-basic-offset: 4
68  * tab-width: 8
69  * indent-tabs-mode: nil
70  * End:
71  *
72  * ex: set shiftwidth=4 tabstop=8 expandtab:
73  * :indentSize=4:tabSize=8:noTabs=true:
74  */