Fix for UBSan build
[platform/upstream/doxygen.git] / src / msc.h
1 /******************************************************************************
2  *
3  * $Id: msc.h,v 1.14 2001/03/19 19:27:40 root Exp $
4  *
5  * Copyright (C) 1997-2012 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby 
9  * granted. No representations are made about the suitability of this software 
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17
18 #ifndef _MSC_H
19 #define _MSC_H
20
21 #include "qtbc.h"
22
23 class FTextStream;
24
25 enum MscOutputFormat { MSC_BITMAP , MSC_EPS };
26
27 void writeMscGraphFromFile(const char *inFile,const char *outDir,
28                            const char *outFile,MscOutputFormat format);
29
30 QCString getMscImageMapFromFile(const QCString& inFile, const QCString& outDir,
31                                 const QCString& relPath,const QCString& context);
32
33 void writeMscImageMapFromFile(FTextStream &t,const QCString &inFile,
34                               const QCString &outDir, const QCString &relPath,
35                               const QCString &baseName, const QCString &context);
36
37 #endif
38