summaryrefslogtreecommitdiffstats
path: root/src/plantuml.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plantuml.h')
-rw-r--r--src/plantuml.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/plantuml.h b/src/plantuml.h
index 3d53daf..06a6b1b 100644
--- a/src/plantuml.h
+++ b/src/plantuml.h
@@ -28,9 +28,10 @@ enum PlantUMLOutputFormat { PUML_BITMAP, PUML_EPS, PUML_SVG };
* @param[in] outDir the output directory to write the file to.
* @param[in] fileName the name of the file. If empty a name will be chosen automatically.
* @param[in] content the contents of the PlantUML file.
+ * @param[in] format the image format to generate.
* @returns The name of the generated file.
*/
-QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,const QCString &content);
+QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,const QCString &content,PlantUMLOutputFormat format);
/** Convert a PlantUML file to an image.
* @param[in] baseName the name of the generated file (as returned by writePlantUMLSource())
@@ -45,17 +46,23 @@ 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,const QCString &puContent);
private:
PlantumlManager();
virtual ~PlantumlManager();
void addPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const QCString key , const QCString value);
void print(QDict< QList <QCString> > &PlantumlFiles);
+ void addPlantumlContent(QDict< QCString > &PlantumlContent,const QCString key , const QCString &puContent);
+ void print(QDict< QCString > &PlantumlContent);
void runPlantumlFiles(QDict< QList <QCString> > &PlantumlFiles,const char *type);
+ void runPlantumlContent(QDict< QList <QCString> > &PlantumlFiles,QDict< QCString > &PlantumlContent, const char *type);
static PlantumlManager *m_theInstance;
QDict< QList<QCString> > m_pngPlantumlFiles;
QDict< QList<QCString> > m_svgPlantumlFiles;
QDict< QList<QCString> > m_epsPlantumlFiles;
+ QDict< QCString > m_pngPlantumlContent;
+ QDict< QCString > m_svgPlantumlContent;
+ QDict< QCString > m_epsPlantumlContent;
};
#endif