fort/src/ui/log/logentryprocnew.h
2017-12-01 19:13:06 +05:00

28 lines
600 B
C++

#ifndef LOGENTRYPROCNEW_H
#define LOGENTRYPROCNEW_H
#include "logentry.h"
class LogEntryProcNew : public LogEntry
{
public:
explicit LogEntryProcNew(quint32 pid = 0,
const QString &kernelPath = QString());
virtual LogEntry::LogType type() const { return ProcNew; }
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_pid;
QString m_kernelPath;
};
#endif // LOGENTRYPROCNEW_H