summaryrefslogtreecommitdiffstats
path: root/src/plantuml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plantuml.cpp')
-rw-r--r--src/plantuml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plantuml.cpp b/src/plantuml.cpp
index a88289a..12e0fee 100644
--- a/src/plantuml.cpp
+++ b/src/plantuml.cpp
@@ -23,7 +23,7 @@
#include "fileinfo.h"
#include "dir.h"
-QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QCString &fileName,const QCString &content,OutputFormat format)
+QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QCString &fileName,const QCString &content,OutputFormat format, const QCString &engine)
{
QCString baseName;
QCString puName;
@@ -72,9 +72,9 @@ QCString PlantumlManager::writePlantUMLSource(const QCString &outDirArg,const QC
Debug::print(Debug::Plantuml,0,"*** %s puName: %s\n","writePlantUMLSource",qPrint(puName));
Debug::print(Debug::Plantuml,0,"*** %s imgName: %s\n","writePlantUMLSource",qPrint(imgName));
- QCString text = "@startuml "+imgName+"\n";
+ QCString text = "@start"+engine+" "+imgName+"\n";
text+=content;
- text+="\n@enduml\n";
+ text+="\n@end"+engine+"\n";
QCString qcOutDir(outDir);
uint pos = qcOutDir.findRev("/");