diff options
author | Weston Thayer <weston@cryclops.com> | 2015-01-06 22:18:24 (GMT) |
---|---|---|
committer | Adrian Negreanu <adrian.m.negreanu@intel.com> | 2015-05-15 16:06:04 (GMT) |
commit | a418518921ba7a99c7221ba7f40d2e791cb207c4 (patch) | |
tree | 5230bcc75b12f6928d1ec2650d3f8d5336a9152e /src/dbusxmlscanner.cpp | |
parent | 4fef5e6a61658c7eb0ce9c20517571e21227bc60 (diff) | |
download | Doxygen-a418518921ba7a99c7221ba7f40d2e791cb207c4.zip Doxygen-a418518921ba7a99c7221ba7f40d2e791cb207c4.tar.gz Doxygen-a418518921ba7a99c7221ba7f40d2e791cb207c4.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 15afca0..ff1097f 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: // ----------------------------------------------------------------------- @@ -855,24 +860,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 */) { } |