diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-06 19:28:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-06 21:39:40 (GMT) |
commit | 4fc5b2b154331fbf35800935889f1d0372334f0a (patch) | |
tree | a87e075516435e0d855a4af6aecb356a517c4b33 /src/doxygen.cpp | |
parent | 983507e0a65e5c2d51209740a89311e122e4f389 (diff) | |
download | Doxygen-4fc5b2b154331fbf35800935889f1d0372334f0a.zip Doxygen-4fc5b2b154331fbf35800935889f1d0372334f0a.tar.gz Doxygen-4fc5b2b154331fbf35800935889f1d0372334f0a.tar.bz2 |
Bug 707713 - Add support for dia diagrams
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 8473676..e766add 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -132,7 +132,8 @@ FileNameDict *Doxygen::includeNameDict = 0; // include names FileNameDict *Doxygen::exampleNameDict = 0; // examples FileNameDict *Doxygen::imageNameDict = 0; // images FileNameDict *Doxygen::dotFileNameDict = 0; // dot files -FileNameDict *Doxygen::mscFileNameDict = 0; // dot files +FileNameDict *Doxygen::mscFileNameDict = 0; // msc files +FileNameDict *Doxygen::diaFileNameDict = 0; // dia files StringDict Doxygen::namespaceAliasDict(257); // all namespace aliases StringDict Doxygen::tagDestinationDict(257); // all tag locations QDict<void> Doxygen::expandAsDefinedDict(257); // all macros that should be expanded @@ -196,6 +197,7 @@ void clearAll() Doxygen::imageNameDict->clear(); Doxygen::dotFileNameDict->clear(); Doxygen::mscFileNameDict->clear(); + Doxygen::diaFileNameDict->clear(); Doxygen::formulaDict->clear(); Doxygen::formulaNameDict->clear(); Doxygen::tagDestinationDict.clear(); @@ -262,6 +264,8 @@ void statistics() Doxygen::dotFileNameDict->statistics(); fprintf(stderr,"--- mscFileNameDict stats ----\n"); Doxygen::mscFileNameDict->statistics(); + fprintf(stderr,"--- diaFileNameDict stats ----\n"); + Doxygen::diaFileNameDict->statistics(); //fprintf(stderr,"--- g_excludeNameDict stats ----\n"); //g_excludeNameDict.statistics(); fprintf(stderr,"--- aliasDict stats ----\n"); @@ -9865,6 +9869,7 @@ void initDoxygen() Doxygen::imageNameDict->setAutoDelete(TRUE); Doxygen::dotFileNameDict = new FileNameDict(257); Doxygen::mscFileNameDict = new FileNameDict(257); + Doxygen::diaFileNameDict = new FileNameDict(257); Doxygen::memGrpInfoDict.setAutoDelete(TRUE); Doxygen::tagDestinationDict.setAutoDelete(TRUE); Doxygen::dirRelations.setAutoDelete(TRUE); @@ -9905,6 +9910,7 @@ void cleanUpDoxygen() delete Doxygen::imageNameDict; delete Doxygen::dotFileNameDict; delete Doxygen::mscFileNameDict; + delete Doxygen::diaFileNameDict; delete Doxygen::mainPage; delete Doxygen::pageSDict; delete Doxygen::exampleSDict; @@ -10546,6 +10552,18 @@ void searchInputFiles() } g_s.end(); + g_s.begin("Searching for dia files...\n"); + QStrList &diaFileList=Config_getList("DIAFILE_DIRS"); + s=diaFileList.first(); + while (s) + { + readFileOrDirectory(s,0,Doxygen::diaFileNameDict,0,0, + 0,0,0, + alwaysRecursive); + s=diaFileList.next(); + } + g_s.end(); + g_s.begin("Searching for files to exclude\n"); QStrList &excludeList = Config_getList("EXCLUDE"); s=excludeList.first(); |