diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-04-10 14:38:08 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-04-10 14:47:03 +0200 |
commit | 86ae825033e039d69a6c9ad29d3fbc4236fe0caa (patch) | |
tree | 5768fd2996aee62146e8ba662cc155d9a437e8dd /src/libs/qmljs/qmljsstaticanalysismessage.h | |
parent | 7b94ac13ed5bc3f5402535700785120c69f292c4 (diff) | |
download | qt-creator-86ae825033e039d69a6c9ad29d3fbc4236fe0caa.tar.gz |
QmlJSStaticAnalysis: make PrototypeMessageData public
We need this in the rewriter to avoid warning.
Change-Id: Ia99583e080eed936d98517ce553294d3040f8cee
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Diffstat (limited to 'src/libs/qmljs/qmljsstaticanalysismessage.h')
-rw-r--r-- | src/libs/qmljs/qmljsstaticanalysismessage.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsstaticanalysismessage.h b/src/libs/qmljs/qmljsstaticanalysismessage.h index eb21552d51..3cf29d7bba 100644 --- a/src/libs/qmljs/qmljsstaticanalysismessage.h +++ b/src/libs/qmljs/qmljsstaticanalysismessage.h @@ -131,6 +131,14 @@ enum Type ErrInvalidArrayValueLength = 323 }; +class QMLJS_EXPORT PrototypeMessageData { +public: + Type type; + Severity severity; + QString message; + int placeholders; +}; + class QMLJS_EXPORT Message { public: @@ -152,6 +160,8 @@ public: QString message; Type type; Severity severity; + + static const PrototypeMessageData prototypeForMessageType(Type type); }; } // namespace StaticAnalysis |