Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
progress_dlg.h
Go to the documentation of this file.
1 /* progress_dlg.h
2  * Definitions for progress dialog box routines
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PROGRESS_DLG_H__
12 #define __PROGRESS_DLG_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
24 struct progdlg;
25 
27 typedef struct progdlg progdlg_t;
28 
46 progdlg_t *create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title,
47  gboolean terminate_is_stop, gboolean *stop_flag);
48 
67 progdlg_t *delayed_create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title,
68  gboolean terminate_is_stop, gboolean *stop_flag,
69  const GTimeVal *start_time, gfloat progress);
70 
78 void update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *status);
79 
86 
87 #ifdef __cplusplus
88 }
89 #endif /* __cplusplus */
90 
91 #endif /* __PROGRESS_DLG_H__ */
92 
93 /*
94  * Editor modelines
95  *
96  * Local Variables:
97  * c-basic-offset: 4
98  * tab-width: 8
99  * indent-tabs-mode: nil
100  * End:
101  *
102  * ex: set shiftwidth=4 tabstop=8 expandtab:
103  * :indentSize=4:tabSize=8:noTabs=true:
104  */
progdlg_t * create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title, gboolean terminate_is_stop, gboolean *stop_flag)
Definition: progress_frame.cpp:31
Definition: progress_frame.h:33
void update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *status)
Definition: progress_frame.cpp:68
void destroy_progress_dlg(progdlg_t *dlg)
Definition: progress_frame.cpp:84
progdlg_t * delayed_create_progress_dlg(gpointer top_level_window, const gchar *task_title, const gchar *item_title, gboolean terminate_is_stop, gboolean *stop_flag, const GTimeVal *start_time, gfloat progress)
Definition: progress_frame.cpp:55