Fix comment end after SPDX identifier
[gd/wireshark/.git] / ui / qt / splash_overlay.h
1 /* splash_overlay.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
10 #ifndef SPLASH_OVERLAY_H
11 #define SPLASH_OVERLAY_H
12
13 #include <config.h>
14
15 #include <glib.h>
16
17 #include "epan/register.h"
18
19 #include <QWidget>
20 #include <QElapsedTimer>
21
22 void splash_update(register_action_e action, const char *message, void *dummy);
23
24 namespace Ui {
25 class SplashOverlay;
26 }
27
28 class SplashOverlay : public QWidget
29 {
30     Q_OBJECT
31
32 public:
33     explicit SplashOverlay(QWidget *parent = 0);
34     ~SplashOverlay();
35
36 private:
37     Ui::SplashOverlay *so_ui_;
38     register_action_e last_action_;
39     int register_cur_;
40     QElapsedTimer elapsed_timer_;
41
42 private slots:
43     void splashUpdate(register_action_e action, const char *message);
44 };
45
46 #endif // SPLASH_OVERLAY_H
47
48 /*
49  * Editor modelines
50  *
51  * Local Variables:
52  * c-basic-offset: 4
53  * tab-width: 8
54  * indent-tabs-mode: nil
55  * End:
56  *
57  * ex: set shiftwidth=4 tabstop=8 expandtab:
58  * :indentSize=4:tabSize=8:noTabs=true:
59  */