summaryrefslogtreecommitdiffstats
path: root/src/htmlhelp.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-01-16 19:20:21 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-01-16 19:20:21 (GMT)
commitfc90c25edfba404f54319eaeeacca39246f95c9e (patch)
tree78bac4e928b25e139605aceefa82537f378d8af0 /src/htmlhelp.h
parentf57b7d974fec18d1d8f325c102efd8be5930131d (diff)
downloadDoxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.zip
Doxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.tar.gz
Doxygen-fc90c25edfba404f54319eaeeacca39246f95c9e.tar.bz2
Release-1.5.4
Diffstat (limited to 'src/htmlhelp.h')
-rw-r--r--src/htmlhelp.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/htmlhelp.h b/src/htmlhelp.h
index 81cac26..fb11d87 100644
--- a/src/htmlhelp.h
+++ b/src/htmlhelp.h
@@ -1,6 +1,6 @@
/******************************************************************************
*
- *
+ * $Id$
*
* Copyright (C) 1997-2007 by Dimitri van Heesch.
*
@@ -24,6 +24,7 @@
#include "qtbc.h"
#include <qtextstream.h>
#include <qstrlist.h>
+#include "index.h"
class QFile;
class HtmlHelpIndex;
@@ -32,7 +33,7 @@ class HtmlHelpIndex;
* These files can be used with the Microsoft HTML Help workshop
* to generate compressed HTML files (.chm).
*/
-class HtmlHelp
+class HtmlHelp : public IndexIntf
{
/*! used in imageNumber param of HTMLHelp::addContentsItem() function
to specify document icon in tree view.
@@ -61,28 +62,25 @@ class HtmlHelp
TOOL, TOOL_NEW
};
public:
- static HtmlHelp *getInstance();
+ //static HtmlHelp *getInstance();
+ HtmlHelp();
void initialize();
void finalize();
- int incContentsDepth();
- int decContentsDepth();
- /*! return the current depth of the contents tree */
- int contentsDepth() { return dc; }
- // added imageNumber - KPW
+ void incContentsDepth();
+ void decContentsDepth();
void addContentsItem(bool isDir,
const char *name,
const char *ref = 0,
+ const char *file = 0,
const char *anchor = 0);
void addIndexItem(const char *level1, const char *level2,
const char *contRef, const char *memRef,
const char *anchor);
void addIndexFile(const char *name);
-
private:
void createProjectFile();
- HtmlHelp();
QFile *cf,*kf;
QTextStream cts,kts;
HtmlHelpIndex *index;