Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
idata_printable.h
Go to the documentation of this file.
1
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
26{
27public:
31 virtual ~IDataPrintable() {}
32
37 virtual const QByteArray printableData() = 0;
38};
39
43#define IDataPrintable_iid "org.wireshark.Qt.UI.IDataPrintable"
44
45Q_DECLARE_INTERFACE(IDataPrintable, IDataPrintable_iid)
46
47#endif // IDATA_PRINTABLE_H
An interface for objects that can provide a printable data representation.
Definition idata_printable.h:26
virtual const QByteArray printableData()=0
Retrieves the printable data representation of the object.
virtual ~IDataPrintable()
Destroys the IDataPrintable object.
Definition idata_printable.h:31
#define IDataPrintable_iid
The interface identifier for IDataPrintable, used by Qt's meta-object system.
Definition idata_printable.h:43