Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
idata_printable.h
1 /* idata_printable.h
2  *
3  * Interface class for classes, which provide an interface to
4  * print objects
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 
13 #ifndef IDATA_PRINTABLE_H
14 #define IDATA_PRINTABLE_H
15 
16 #include <config.h>
17 
18 #include <QtPlugin>
19 #include <QByteArray>
20 #include <QObject>
21 
23 {
24 public:
25  virtual ~IDataPrintable() {}
26 
27  virtual const QByteArray printableData() = 0;
28 };
29 
30 #define IDataPrintable_iid "org.wireshark.Qt.UI.IDataPrintable"
31 
32 Q_DECLARE_INTERFACE(IDataPrintable, IDataPrintable_iid)
33 
34 #endif // IDATA_PRINTABLE_H
35 
36 /*
37  * Editor modelines
38  *
39  * Local Variables:
40  * c-basic-offset: 4
41  * tab-width: 8
42  * indent-tabs-mode: nil
43  * End:
44  *
45  * ex: set shiftwidth=4 tabstop=8 expandtab:
46  * :indentSize=4:tabSize=8:noTabs=true:
47  */
Definition: idata_printable.h:22