#ifndef LOGENTRYSTATTRAF_H #define LOGENTRYSTATTRAF_H #include "logentry.h" class LogEntryStatTraf : public LogEntry { public: explicit LogEntryStatTraf(quint16 procCount = 0, const quint32 *procTrafBytes = nullptr); LogEntry::LogType type() const override { return StatTraf; } quint16 procCount() const { return m_procCount; } void setProcCount(quint16 procCount); const quint32 *procTrafBytes() const { return m_procTrafBytes; } void setProcTrafBytes(const quint32 *procTrafBytes); private: quint16 m_procCount; const quint32 *m_procTrafBytes; }; #endif // LOGENTRYSTATTRAF_H