diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-05-02 09:20:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 09:20:20 (GMT) |
commit | 4f4688844b3c6ff67782c2be95b2ceb195702067 (patch) | |
tree | 90cf8871d4cffc81ff99d392bc2b00191456de85 /src/eclipsehelp.h | |
parent | 4fd8254c903b251be91ab669f4d83cb86ebaf499 (diff) | |
parent | 4784ecea4d15c34af41c1adaa188159b124a1ed0 (diff) | |
download | Doxygen-4f4688844b3c6ff67782c2be95b2ceb195702067.zip Doxygen-4f4688844b3c6ff67782c2be95b2ceb195702067.tar.gz Doxygen-4f4688844b3c6ff67782c2be95b2ceb195702067.tar.bz2 |
Merge branch 'master' into feature/bug_code_lang
Diffstat (limited to 'src/eclipsehelp.h')
-rw-r--r-- | src/eclipsehelp.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/eclipsehelp.h b/src/eclipsehelp.h index 5d63768..1ba4df4 100644 --- a/src/eclipsehelp.h +++ b/src/eclipsehelp.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2015 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 + * 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. * @@ -24,11 +24,11 @@ #ifndef ECLIPSEHELP_H #define ECLIPSEHELP_H +#include <fstream> + #include "index.h" -#include "ftextstream.h" /* -- forward declarations */ -class QFile; class Definition; /** Generator for Eclipse help files. @@ -37,7 +37,7 @@ class Definition; * These files can be used to generate a help plugin readable * by the Eclipse IDE. */ -class EclipseHelp : public IndexIntf +class EclipseHelp : public IndexIntf { public: EclipseHelp(); @@ -48,22 +48,21 @@ class EclipseHelp : public IndexIntf virtual void finalize(); virtual void incContentsDepth(); virtual void decContentsDepth(); - virtual void addContentsItem(bool isDir, const char *name, const char *ref, - const char *file, const char *anchor,bool separateIndex,bool addToNavIndex, + virtual void addContentsItem(bool isDir, const QCString &name, const QCString &ref, + const QCString &file, const QCString &anchor,bool separateIndex,bool addToNavIndex, const Definition *def); virtual void addIndexItem(const Definition *context,const MemberDef *md, - const char *sectionAnchor,const char *title); - virtual void addIndexFile(const char *name); - virtual void addImageFile(const char *name); - virtual void addStyleSheetFile(const char *name); + const QCString §ionAnchor,const QCString &title); + virtual void addIndexFile(const QCString &name); + virtual void addImageFile(const QCString &name); + virtual void addStyleSheetFile(const QCString &name); private: int m_depth; bool m_endtag; int m_openTags; - QFile * m_tocfile; - FTextStream m_tocstream; + std::ofstream m_tocstream; QCString m_pathprefix; /* -- avoid copying */ |