Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
interface_toolbar_reader.h
Go to the documentation of this file.
1
10
#ifndef INTERFACE_TOOLBAR_READER_H
11
#define INTERFACE_TOOLBAR_READER_H
12
13
#include <QObject>
14
#include <QByteArray>
15
16
#ifdef _WIN32
17
#include <windows.h>
18
#endif
19
20
namespace
Ui {
21
class
InterfaceToolbarReader
;
22
}
23
24
class
InterfaceToolbarReader
:
public
QObject
25
{
26
Q_OBJECT
27
28
public
:
29
InterfaceToolbarReader
(QString ifname,
void
*control_in, QObject *parent = 0) :
30
QObject(parent),
31
ifname_(ifname),
32
#ifdef _WIN32
33
control_in_((HANDLE)control_in)
34
#else
35
control_in_((
char
*)control_in),
36
fd_in_(-1)
37
#endif
38
{
39
}
40
41
public
slots:
42
void
loop();
43
44
signals:
45
void
received(QString ifname,
int
num,
int
command, QByteArray payload);
46
void
finished();
47
48
private
:
49
#ifdef _WIN32
50
int
async_pipe_read(
void
*data,
int
nbyte);
51
#endif
52
int
pipe_read(
char
*data,
int
nbyte);
53
54
QString ifname_;
55
#ifdef _WIN32
56
HANDLE control_in_;
57
#else
58
QString control_in_;
59
int
fd_in_;
60
#endif
61
};
24
class
InterfaceToolbarReader
:
public
QObject {
…
};
62
63
#endif
// INTERFACE_TOOLBAR_READER_H
InterfaceToolbarReader
Definition
interface_toolbar_reader.h:25
Generated by
1.9.8