diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-06-07 11:47:47 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-06-07 11:47:47 (GMT) |
commit | 0c394c5817041713aee58748fcd5d338a467cbee (patch) | |
tree | f17d17b67fdefdfdf992328f3f51dd90812c156e /src/filedef.cpp | |
parent | 70b82eced91d2739181f2b700ec04cb14d776d7b (diff) | |
download | Doxygen-0c394c5817041713aee58748fcd5d338a467cbee.zip Doxygen-0c394c5817041713aee58748fcd5d338a467cbee.tar.gz Doxygen-0c394c5817041713aee58748fcd5d338a467cbee.tar.bz2 |
Release-1.3.1-20030607
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 78710fc..0e9104e 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -32,6 +32,25 @@ #include "docparser.h" //#include "xml.h" +class DevNullCodeDocInterface : public BaseCodeDocInterface +{ + public: + virtual void codify(const char *) {} + virtual void writeCodeLink(const char *,const char *, + const char *,const char *) {} + virtual void writeLineNumber(const char *,const char *, + const char *,int) {} + virtual void startCodeLine() {} + virtual void endCodeLine() {} + virtual void startCodeAnchor(const char *) {} + virtual void endCodeAnchor() {} + virtual void startFontClass(const char *) {} + virtual void endFontClass() {} + virtual void writeCodeAnchor(const char *) {} +}; + + + /*! create a new file definition, where \a p is the file path, \a the file name, and \a ref is an HTML anchor name if the file was read from a tag file or 0 otherwise @@ -487,6 +506,14 @@ void FileDef::writeSource(OutputList &ol) ol.enableAll(); } +void FileDef::parseSource() +{ + DevNullCodeDocInterface devNullIntf; + parseCode(devNullIntf,0, + fileToString(absFilePath(),Config_getBool("FILTER_SOURCE_FILES")), + FALSE,0,this + ); +} void FileDef::addMembersToMemberGroup() { |