fort/src/ui/log/logentrystattraf.h
Nodir Temirkhodjaev 63286cc7c3 Fix Clazy warnings.
2019-02-08 13:19:20 +05:00

26 lines
647 B
C++

#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