/****************************************************************************** * * * * * Copyright (C) 1997-2001 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 DOXYGEN_H #define DOXYGEN_H #include "qtbc.h" #include #include "groupdef.h" #include "filedef.h" #include "classdef.h" #include "memberdef.h" #include "classlist.h" #include "membername.h" #include "filename.h" #include "namespacedef.h" #include "formula.h" #include "section.h" #include "membergroup.h" #include "packagedef.h" class PageSList; class PageSDict; class PageInfo; typedef QList StringList; typedef QDict FileDict; typedef QDict GroupDict; class StringDict : public QDict { public: StringDict(uint size=17) : QDict(size) {} virtual ~StringDict() {} }; extern QCString spaces; /*! \brief This class serves as a namespace for global variables used by doxygen. * * All fields in this class are public and static, so they can be used directly. */ class Doxygen { public: static ClassSDict classSDict; static ClassSDict hiddenClasses; static PageSDict *exampleSDict; static PageSDict *pageSDict; static PageInfo *mainPage; static FileNameDict *includeNameDict; static FileNameDict *exampleNameDict; static FileNameDict *inputNameDict; static FileNameDict *imageNameDict; static QStrList tagfileList; static MemberNameList memberNameList; static MemberNameList functionNameList; static MemberNameDict memberNameDict; static MemberNameDict functionNameDict; static FileList fileList; static FileDict fileDict; static ClassDef unrelatedClass; static QTextStream tagFile; static SectionDict sectionDict; static FileNameList inputNameList; //static TypedefDict typedefDict; static StringDict namespaceAliasDict; static GroupList groupList; static GroupDict groupDict; static NamespaceList namespaceList; static NamespaceDict namespaceDict; static FormulaList formulaList; static FormulaDict formulaDict; static FormulaDict formulaNameDict; static StringDict tagDestinationDict; static StringDict aliasDict; static QIntDict memberHeaderDict; // dictionary of the member groups heading static QIntDict memberDocDict; // dictionary of the member groups heading static QDict expandAsDefinedDict; static PackageSDict packageDict; static NamespaceDef *globalScope; }; void initDoxygen(); void readConfiguration(int argc, char **argv); void parseInput(); void generateOutput(); #endif