/usr/include/wallsmessage.h is in libdewalls-dev 1.0.0+ds1-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #ifndef DEWALLS_WALLSMESSAGE_H
#define DEWALLS_WALLSMESSAGE_H
#include <QString>
#include "segmentparseexception.h"
#include "dewallsexport.h"
namespace dewalls {
///
/// \brief a message emitted by WallsSurveyParser or WallsProjectParser, usually an error or a
/// warning
///
class DEWALLS_LIB_EXPORT WallsMessage {
public:
WallsMessage(QString severity, QString message, QString source = QString(),
int startLine = -1, int startColumn = -1, int endLine = -1, int endColumn = -1,
QString context = QString());
WallsMessage(QString severity, QString message, Segment segment);
WallsMessage(const SegmentParseException& ex);
inline QString severity() const { return Severity; }
inline QString message() const { return Message; }
inline QString source() const { return Source; }
inline QString context() const { return Context; }
inline int startLine() const { return StartLine; }
inline int startColumn() const { return StartColumn; }
inline int endLine() const { return EndLine; }
inline int endColumn() const { return EndColumn; }
QString toString();
private:
QString Severity;
QString Message;
QString Source;
int StartLine;
int StartColumn;
int EndLine;
int EndColumn;
QString Context;
};
} // namespace dewalls
#endif // DEWALLS_WALLSMESSAGE_H
|