Wireshark  4.3.0
The Wireshark network protocol analyzer
splash_overlay.h
Go to the documentation of this file.
1 
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
Definition: splash_overlay.h:29