1 /******************************************************************************
3 * $Id: htmlhelp.h,v 1.7 2001/03/19 19:27:40 root Exp $
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
16 * The code is this file is largely based on a contribution from
17 * Harm van der Heijden <H.v.d.Heijden@phys.tue.nl>
18 * Please send thanks to him and bug reports to me :-)
27 #include "ftextstream.h"
33 /** A class that generated the HTML Help specific files.
35 * These files can be used with the Microsoft HTML Help workshop
36 * to generate compressed HTML files (.chm).
38 class HtmlHelp : public IndexIntf
40 /*! used in imageNumber param of HTMLHelp::addContentsItem() function
41 to specify document icon in tree view.
42 Writes \<param name="ImageNumber" value="xx"\> in .HHC file. */
44 BOOK_CLOSED=1, BOOK_OPEN,
45 BOOK_CLOSED_NEW, BOOK_OPEN_NEW,
46 FOLDER_CLOSED, FOLDER_OPEN,
47 FOLDER_CLOSED_NEW,FOLDER_OPEN_NEW,
51 WEB_LINK, WEB_LINK_NEW,
67 //static HtmlHelp *getInstance();
72 void incContentsDepth();
73 void decContentsDepth();
74 void addContentsItem(bool isDir,
82 void addIndexItem(Definition *context,MemberDef *md,const char *title);
83 void addIndexFile(const char *name);
84 void addImageFile(const char *);
85 void addStyleSheetFile(const char *) {}
88 friend class HtmlHelpIndex;
89 void createProjectFile();
97 QDict<void> indexFileDict;
98 static HtmlHelp *theInstance;
99 QCString recode(const QCString &s);
103 #endif /* HTMLHELP_H */