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

32 lines
707 B
C++

#ifndef LOGENTRYBLOCKED_H
#define LOGENTRYBLOCKED_H
#include "logentry.h"
class LogEntryBlocked : public LogEntry
{
public:
explicit LogEntryBlocked(quint32 ip = 0, quint32 pid = 0,
const QString &kernelPath = QString());
LogEntry::LogType type() const override { return AppBlocked; }
quint32 ip() const { return m_ip; }
void setIp(quint32 ip);
quint32 pid() const { return m_pid; }
void setPid(quint32 pid);
QString kernelPath() const { return m_kernelPath; }
void setKernelPath(const QString &kernelPath);
QString path() const;
private:
quint32 m_ip;
quint32 m_pid;
QString m_kernelPath;
};
#endif // LOGENTRYBLOCKED_H