Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ws_ui_util.h
Go to the documentation of this file.
1
14#ifndef __UI_UTIL_H__
15#define __UI_UTIL_H__
16
17#include <stdint.h>
18
19#include <wsutil/processes.h>
20
21#include "epan/packet_info.h"
22#include "epan/column-utils.h"
23#include "epan/color_filters.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif /* __cplusplus */
28
30typedef struct window_geometry_s {
31 char *key;
32 bool set_pos;
33 int x;
34 int y;
35 bool set_size;
36 int width;
37 int height;
39 bool maximized;
40 char* qt_geom;
42
43/* update the main window */
44extern void main_window_update(void);
45
46/* Exit routine provided by UI-specific code. */
47WS_NORETURN extern void exit_application(int status);
48
49/* XXX - Yes this isn't the best place, but they are used by file_dlg_win32.c, which is supposed
50 to be GUI independent, but has lots of GTK leanings. But if you put these in a GTK UI
51 header file, file_dlg_win32.c complains about all of the GTK structures also in the header
52 files
53 Function names make it clear where they are coming from
54*/
55void color_filter_add_cb(color_filter_t *colorf, void *user_data);
56
57#ifdef __cplusplus
58}
59#endif /* __cplusplus */
60
61#endif /* __UI_UTIL_H__ */
Definition color_filters.h:33
Definition ws_ui_util.h:30
bool set_pos
Definition ws_ui_util.h:32
bool set_maximized
Definition ws_ui_util.h:38
int y
Definition ws_ui_util.h:34
char * key
Definition ws_ui_util.h:31
bool set_size
Definition ws_ui_util.h:35
char * qt_geom
Definition ws_ui_util.h:40
bool maximized
Definition ws_ui_util.h:39
int width
Definition ws_ui_util.h:36
int height
Definition ws_ui_util.h:37
int x
Definition ws_ui_util.h:33
struct window_geometry_s window_geometry_t