diff options
author | Charles.Lee <cheoljoo@gmail.com> | 2018-08-27 03:23:18 (GMT) |
---|---|---|
committer | Charles.Lee <cheoljoo@gmail.com> | 2018-08-27 03:23:18 (GMT) |
commit | ccdf5ee278d7029c055954a733f0db90e47e075d (patch) | |
tree | 5773852615990769064bac28449e6bf0f11d6361 /src | |
parent | 1a9bb0614362217143d8e01779d8ac9b336b96f4 (diff) | |
download | Doxygen-ccdf5ee278d7029c055954a733f0db90e47e075d.zip Doxygen-ccdf5ee278d7029c055954a733f0db90e47e075d.tar.gz Doxygen-ccdf5ee278d7029c055954a733f0db90e47e075d.tar.bz2 |
source arrangement
Diffstat (limited to 'src')
-rw-r--r-- | src/plantuml.cpp | 12 | ||||
-rw-r--r-- | src/plantuml.h | 8 |
2 files changed, 5 insertions, 15 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp index feac907..3930e60 100644 --- a/src/plantuml.cpp +++ b/src/plantuml.cpp @@ -134,22 +134,12 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp msg("Running PlantUML on generated file %s.pu\n",baseName); portable_sysTimerStart(); if(Config_getBool(PLANTUML_RUN_JAVA_ONCE)){ - //Debug::print(Debug::Plantuml,0,"*** imgName %s\n",qPrint(imgName)); - //Debug::print(Debug::Plantuml,0,"*** running: %s %s outDir:%s %s\n",qPrint(pumlExe),qPrint(pumlArgs),outDir,baseName); - //Debug::print(Debug::Plantuml,0,"*** baseName: %s\n",baseName); - //Debug::print(Debug::Plantuml,0,"*** outDir: %s\n",outDir); - //Debug::print(Debug::Plantuml,0,"*** project name: %s\n",qPrint(Config_getString(PROJECT_NAME)) ); - //Debug::print(Debug::Plantuml,0,"*** output directory: %s\n",qPrint(Config_getString(OUTPUT_DIRECTORY)) ); QCString qcOutDir(outDir); uint pos = qcOutDir.findRev("/"); - //Debug::print(Debug::Plantuml,0,"*** right: %d\n",pos ); - //QCString baseDirectoryName(qcOutDir.left(pos)); - //Debug::print(Debug::Plantuml,0,"*** baseDirectoryName: %s\n",qPrint(baseDirectoryName)); QCString generateType(qcOutDir.right(qcOutDir.length() - (pos + 1)) ); Debug::print(Debug::Plantuml,0,"*** %s generateType: %s\n",__PRETTY_FUNCTION__,qPrint(generateType)); QCString qcBaseName(baseName); pos = qcBaseName.findRev("/"); - //Debug::print(Debug::Plantuml,0,"*** right: %d\n",pos ); QCString baseFileName(qcBaseName.right(qcBaseName.length() - (pos + 1)) ); Debug::print(Debug::Plantuml,0,"*** %s baseFileName: %s\n",__PRETTY_FUNCTION__,qPrint(baseFileName)); PlantumlManager::instance()->insert(generateType,baseFileName,format); @@ -212,7 +202,7 @@ PlantumlManager::~PlantumlManager() void PlantumlManager::runPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const char *type) { - /* *** running: java -Djava.awt.headless=true -jar "/Users/cheoljoo/code/common_telltale/GP/Apps/Src/MgrTelltale/tools/plantuml.jar" -o "/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html" -tpng "/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html/A.pu" -charset UTF-8 outDir:/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html /Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html/A + /* example : running: java -Djava.awt.headless=true -jar "/Users/cheoljoo/code/common_telltale/GP/Apps/Src/MgrTelltale/tools/plantuml.jar" -o "/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html" -tpng "/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html/A.pu" -charset UTF-8 outDir:/Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html /Users/cheoljoo/Code/LG/test_doxygen/DOXYGEN_OUTPUT/html/A */ int exitCode; QCString plantumlJarPath = Config_getString(PLANTUML_JAR_PATH); diff --git a/src/plantuml.h b/src/plantuml.h index b931e70..3d53daf 100644 --- a/src/plantuml.h +++ b/src/plantuml.h @@ -45,13 +45,13 @@ class PlantumlManager public: static PlantumlManager *instance(); void run(); - void insert(const QCString key , const QCString value,PlantUMLOutputFormat format); + void insert(const QCString key , const QCString value,PlantUMLOutputFormat format); private: PlantumlManager(); virtual ~PlantumlManager(); - void addPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const QCString key , const QCString value); - void print(QDict< QList <QCString> > &PlantumlFiles); - void runPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const char *type); + void addPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const QCString key , const QCString value); + void print(QDict< QList <QCString> > &PlantumlFiles); + void runPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const char *type); static PlantumlManager *m_theInstance; QDict< QList<QCString> > m_pngPlantumlFiles; QDict< QList<QCString> > m_svgPlantumlFiles; |