From b07832a11606e3d1b488ee2ab4ec34bb6ccb7921 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Fri, 13 Sep 2013 15:14:48 +0200 Subject: Fixed compilation issues in doxyapp --- .gitignore | 1 + addon/doxyapp/doxyapp.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index f4718a9..756a197 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ /addon/doxmlparser/src/Makefile /addon/doxmlparser/test/Makefile /addon/doxyapp/Makefile +/addon/doxyapp/Makefile.doxyapp /addon/doxywizard/Makefile /addon/doxywizard/Makefile.doxywizard /addon/doxywizard/config_lex.cpp diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp index 651bc36..a05f414 100644 --- a/addon/doxyapp/doxyapp.cpp +++ b/addon/doxyapp/doxyapp.cpp @@ -49,6 +49,9 @@ class XRefDummyCodeGenerator : public CodeOutputInterface void codify(const char *) {} void writeCodeLink(const char *,const char *,const char *,const char *,const char *) {} void writeLineNumber(const char *,const char *,const char *,int) {} + virtual void writeTooltip(const char *,const DocLinkInfo &, + const char *,const char *,const SourceLinkInfo &, + const SourceLinkInfo &) {} void startCodeLine(bool) {} void endCodeLine() {} void startCodeAnchor(const char *) {} @@ -107,6 +110,9 @@ static void findXRefSymbols(FileDef *fd) // get the interface to a parser that matches the file extension ParserInterface *pIntf=Doxygen::parserManager->getParser(fd->getDefFileExtension()); + // get the programming language from the file name + SrcLangExt lang = getLanguageFromFileName(fd->name()); + // reset the parsers state pIntf->resetCodeParserState(); @@ -117,6 +123,7 @@ static void findXRefSymbols(FileDef *fd) pIntf->parseCode(*xrefGen, 0, fileToString(fd->absFilePath()), + lang, FALSE, 0, fd); -- cgit v0.12