doxygen/src/msc.h
albert-github 3a048d8d45 issue #7195 reserved identifier violation
Based in the example in the issue there are a few more files to be handled.
The file winbuild/iconv.h is explicitly not changed as this is an external file.

The change is based on:
- https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51-CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29
- https://en.wikipedia.org/wiki/Include_guard#Discussion
2021-07-12 11:29:53 +02:00

40 lines
1.5 KiB
C++

/******************************************************************************
*
* Copyright (C) 1997-2021 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
#ifndef MSC_H
#define MSC_H
class QCString;
class TextStream;
enum MscOutputFormat { MSC_BITMAP , MSC_EPS, MSC_SVG };
void writeMscGraphFromFile(const QCString &inFile,const QCString &outDir,
const QCString &outFile,MscOutputFormat format,
const QCString &srcFile,int srcLine);
QCString getMscImageMapFromFile(const QCString &inFile, const QCString &outDir,
const QCString &relPath,const QCString &context,
const QCString &srcFile,int srcLine);
void writeMscImageMapFromFile(TextStream &t,const QCString &inFile,
const QCString &outDir, const QCString &relPath,
const QCString &baseName, const QCString &context,
MscOutputFormat format,
const QCString &srcFile,int srcLine
);
#endif