mirror of
https://github.com/tnodir/fort
synced 2024-11-17 11:15:31 +00:00
32 lines
707 B
C++
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
|