Blame src/plantuml.h

Packit 1c1d7e
/******************************************************************************
Packit 1c1d7e
 *
Packit 1c1d7e
 * Copyright (C) 1997-2015 by Dimitri van Heesch.
Packit 1c1d7e
 *
Packit 1c1d7e
 * Permission to use, copy, modify, and distribute this software and its
Packit 1c1d7e
 * documentation under the terms of the GNU General Public License is hereby 
Packit 1c1d7e
 * granted. No representations are made about the suitability of this software 
Packit 1c1d7e
 * for any purpose. It is provided "as is" without express or implied warranty.
Packit 1c1d7e
 * See the GNU General Public License for more details.
Packit 1c1d7e
 *
Packit 1c1d7e
 * Documents produced by Doxygen are derivative works derived from the
Packit 1c1d7e
 * input used in their production; they are not affected by this license.
Packit 1c1d7e
 *
Packit 1c1d7e
 */
Packit 1c1d7e
Packit 1c1d7e
#ifndef PLANTUML_H
Packit 1c1d7e
#define PLANTUML_H
Packit 1c1d7e
Packit 1c1d7e
class QCString;
Packit 1c1d7e
Packit 1c1d7e
/** Plant UML output image formats */
Packit 1c1d7e
enum PlantUMLOutputFormat { PUML_BITMAP, PUML_EPS, PUML_SVG };
Packit 1c1d7e
Packit 1c1d7e
/** Write a PlantUML compatible file.
Packit 1c1d7e
 *  @param[in] outDir   the output directory to write the file to.
Packit 1c1d7e
 *  @param[in] fileName the name of the file. If empty a name will be chosen automatically.
Packit 1c1d7e
 *  @param[in] content  the contents of the PlantUML file.
Packit 1c1d7e
 *  @returns The name of the generated file.
Packit 1c1d7e
 */
Packit 1c1d7e
QCString writePlantUMLSource(const QCString &outDir,const QCString &fileName,const QCString &content);
Packit 1c1d7e
Packit 1c1d7e
/** Convert a PlantUML file to an image.
Packit 1c1d7e
 *  @param[in] baseName the name of the generated file (as returned by writePlantUMLSource())
Packit 1c1d7e
 *  @param[in] outDir   the directory to write the resulting image into.
Packit 1c1d7e
 *  @param[in] format   the image format to generate.
Packit 1c1d7e
 */
Packit 1c1d7e
void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutputFormat format);
Packit 1c1d7e
Packit 1c1d7e
#endif
Packit 1c1d7e