Wireshark 4.7.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
46extern void main_window_update(void);
47
48/* Exit routine provided by UI-specific code. */
49WS_NORETURN extern void exit_application(int status);
50
51/* XXX - Yes this isn't the best place, but they are used by file_dlg_win32.c, which is supposed
52 to be GUI independent, but has lots of GTK leanings. But if you put these in a GTK UI
53 header file, file_dlg_win32.c complains about all of the GTK structures also in the header
54 files
55 Function names make it clear where they are coming from
56 */
63void color_filter_add_cb(color_filter_t *colorf, void *user_data);
64
65#ifdef __cplusplus
66}
67#endif /* __cplusplus */
68
69#endif /* __UI_UTIL_H__ */
Definition color_filters.h:32
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
void main_window_update(void)
Update the main window.
Definition main.cpp:120
void color_filter_add_cb(color_filter_t *colorf, void *user_data)
Adds a callback function for color filtering.
Definition coloring_rules_model.cpp:76