aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_info_dialog.cpp
blob: 7427dc71d0b236dbbfbdc813d1869d2a315f3df5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* capture_info_dialog.cpp
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0+*/

#include "config.h"

#include <glib.h>

#include <epan/packet.h>

#include "capture_info_dialog.h"
#include "capture_info.h"

// This is effectively GTK+ only.
// If we implement this here we should modernize the staticstis we show.

/* create the capture info dialog */
/* will keep pointers to the fields in the counts parameter */
void capture_info_ui_create(
capture_info    *,
capture_session *)
{
    g_log(NULL, G_LOG_LEVEL_DEBUG, "FIX: capture_info_ui_create");
}

/* update the capture info dialog */
/* As this function is a bit time critical while capturing, */
/* prepare everything possible in the capture_info_ui_create() function above! */
void capture_info_ui_update(
capture_info    *)
{
    g_log(NULL, G_LOG_LEVEL_DEBUG, "FIX: capture_info_ui_update");
}

/* destroy the capture info dialog again */
void capture_info_ui_destroy(
capture_info    *)
{
    g_log(NULL, G_LOG_LEVEL_DEBUG, "FIX: capture_info_ui_destroy");
}

CaptureInfoDialog::CaptureInfoDialog(QWidget *parent) :
    QDialog(parent)
{
}

/*
 * Editor modelines
 *
 * Local Variables:
 * c-basic-offset: 4
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 *
 * ex: set shiftwidth=4 tabstop=8 expandtab:
 * :indentSize=4:tabSize=8:noTabs=true:
 */