13 #ifndef BERRYISTATUS_H_
14 #define BERRYISTATUS_H_
76 Q_DECLARE_FLAGS(Severities, Severity)
85 virtual QList<IStatus::Pointer> GetChildren()
const = 0;
92 virtual int GetCode()
const = 0;
102 virtual const ctkException* GetException()
const = 0;
110 virtual QString GetMessage()
const = 0;
118 virtual QString GetPlugin()
const = 0;
139 virtual Severity GetSeverity()
const = 0;
158 virtual bool IsMultiStatus()
const = 0;
167 virtual bool IsOK()
const = 0;
186 virtual bool Matches(
const Severities& severityMask)
const = 0;
188 virtual QString GetFileName()
const = 0;
190 virtual QString GetMethodName()
const = 0;
192 virtual int GetLineNumber()
const = 0;
197 Q_DECLARE_OPERATORS_FOR_FLAGS(berry::IStatus::Severities)