2 * Copyright (C) 2008 by Sebastian Pipping.
3 * Copyright (C) 2008 Dimitri van Heesch.
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
14 * Sebastian Pipping <sebastian@pipping.org>
21 #include "qhpxmlwriter.h"
23 class Qhp : public IndexIntf
32 void incContentsDepth();
33 void decContentsDepth();
34 void addContentsItem(bool isDir, const char * name, const char * ref,
35 const char * file, const char * anchor,
36 bool separateIndex,bool addToNavIndex,
38 void addIndexItem(Definition *context,MemberDef *md,const char *title);
39 void addIndexFile(const char * name);
40 void addImageFile(const char * name);
41 void addStyleSheetFile(const char * name);
44 static QCString getQhpFileName();
47 void handlePrevSection();
48 void clearPrevSection();
49 void setPrevSection(const char * title, const char * ref, int level);
50 void addFile(const char * fileName);
52 static QCString getFullProjectName();
59 QCString m_prevSectionTitle;
60 QCString m_prevSectionRef;
62 int m_prevSectionLevel;
65 //QCString m_prevIdName;
66 //QCString m_prevIdRef;
69 #endif // DOXYGEN_QHP_H