diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-15 20:03:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-15 20:03:34 (GMT) |
commit | 082b421913688541087c4b810cd48a882c3d87c9 (patch) | |
tree | 50b1099761af52d0ca94caec83c8ff3a08efb753 /src/outputgen.h | |
parent | 6e9c313b87a0daa86ca108e93d67fc4c9e5bec68 (diff) | |
download | Doxygen-082b421913688541087c4b810cd48a882c3d87c9.zip Doxygen-082b421913688541087c4b810cd48a882c3d87c9.tar.gz Doxygen-082b421913688541087c4b810cd48a882c3d87c9.tar.bz2 |
Upgrade to 1.1.0
Diffstat (limited to 'src/outputgen.h')
-rw-r--r-- | src/outputgen.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/outputgen.h b/src/outputgen.h index 18534c9..31291b0 100644 --- a/src/outputgen.h +++ b/src/outputgen.h @@ -2,7 +2,7 @@ * * $Id$ * - * Copyright (C) 1997-1999 by Dimitri van Heesch. + * Copyright (C) 1997-2000 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 @@ -21,14 +21,18 @@ #include <qtextstream.h> #include <qbuffer.h> #include <qfile.h> +#include <qstack.h> #include "index.h" class ClassDiagram; +class DotGfxUsageGraph; +class DotInclDepGraph; +class DotGfxHierarchyTable; class OutputGenerator { public: - enum OutputType { Html, Latex, Man }; + enum OutputType { Html, Latex, Man, RTF }; OutputGenerator(); virtual ~OutputGenerator(); @@ -191,12 +195,25 @@ class OutputGenerator virtual void startDescTableData() = 0; virtual void endDescTableData() = 0; + virtual void startCollaborationDiagram() = 0; + virtual void endCollaborationDiagram(DotGfxUsageGraph &g) = 0; + virtual void startInclDepGraph() = 0; + virtual void endInclDepGraph(DotInclDepGraph &g) = 0; + virtual void writeGraphicalHierarchy(DotGfxHierarchyTable &g) = 0; + + virtual void startTextBlock(bool) = 0; + virtual void endTextBlock() = 0; + virtual void lastIndexPage() = 0; + + void clear() { b.close(); a.resize(0); b.setBuffer(a); b.open(IO_WriteOnly); t.setDevice(&b); } void startPlainFile(const char *name); void endPlainFile(); QCString getContents() const; bool isEnabled() const { return active; } + void pushGeneratorState(); + void popGeneratorState(); protected: QTextStream fs; QByteArray a; @@ -209,6 +226,7 @@ class OutputGenerator private: OutputGenerator(const OutputGenerator &o); OutputGenerator &operator=(const OutputGenerator &o); + QStack<bool> *genStack; }; #endif |