diff options
author | Weston Thayer <weston@cryclops.com> | 2015-01-06 22:18:24 (GMT) |
---|---|---|
committer | Weston Thayer <weston@cryclops.com> | 2015-01-06 22:18:24 (GMT) |
commit | 62d24d83a13d3a8bf08b83e485358e4a7e5e226b (patch) | |
tree | 8f094b3ee7a5b82a0f18d52fb42760f0695482cc /src/dbusxmlscanner.cpp | |
parent | ed39dab59f8af2c5b42cfac0b3140cf594412121 (diff) | |
download | Doxygen-62d24d83a13d3a8bf08b83e485358e4a7e5e226b.zip Doxygen-62d24d83a13d3a8bf08b83e485358e4a7e5e226b.tar.gz Doxygen-62d24d83a13d3a8bf08b83e485358e4a7e5e226b.tar.bz2 |
Add support for basic XML syntax highlighting.
Diffstat (limited to 'src/dbusxmlscanner.cpp')
-rw-r--r-- | src/dbusxmlscanner.cpp | 43 |
1 files changed, 27 insertions, 16 deletions
diff --git a/src/dbusxmlscanner.cpp b/src/dbusxmlscanner.cpp index aa3cc47..90d51cd 100644 --- a/src/dbusxmlscanner.cpp +++ b/src/dbusxmlscanner.cpp @@ -28,6 +28,11 @@ #include "util.h" #include "arguments.h" +#include "outputgen.h" +#include "memberdef.h" + +#include "xmlcode.h" + // ----------------------------------------------------------------------- // Convenience defines: // ----------------------------------------------------------------------- @@ -858,24 +863,30 @@ void DBusXMLScanner::parseInput(const char * fileName, bool DBusXMLScanner::needsPreprocessing(const QCString & /* extension */) { return (false); } -void DBusXMLScanner::parseCode(CodeOutputInterface & /* codeOutIntf */, - const char * /* scopeName */, - const QCString & /* input */, - SrcLangExt /* lang */, - bool /* isExampleBlock */, - const char * /* exampleName */, - FileDef * /* fileDef */, - int /* startLine */, - int /* endLine */, - bool /* inlineFragment */, - MemberDef * /* memberDef */, - bool /*showLineNumbers*/, - Definition * /* searchCtx */, - bool /*collectXRefs*/ ) -{ } +void DBusXMLScanner::parseCode(CodeOutputInterface & codeOutIntf, + const char * scopeName, + const QCString & input, + SrcLangExt /*lang*/, + bool isExampleBlock, + const char * exampleName, + FileDef * fileDef, + int startLine, + int endLine, + bool inlineFragment, + MemberDef * memberDef, + bool showLineNumbers, + Definition * searchCtx, + bool collectXRefs ) +{ + parseXmlCode(codeOutIntf,scopeName,input,isExampleBlock,exampleName, + fileDef,startLine,endLine,inlineFragment,memberDef, + showLineNumbers,searchCtx,collectXRefs); +} void DBusXMLScanner::resetCodeParserState() -{ } +{ + resetXmlCodeParserState(); +} void DBusXMLScanner::parsePrototype(const char * /* text */) { } |