diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-11-26 14:55:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-11-26 14:55:14 (GMT) |
commit | a30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2 (patch) | |
tree | 0bbfa006a4c63e8fe48b3d0022699cffaea24b47 /src/ftvhelp.h | |
parent | 2f32e4c28047cdec982a818e8abe5632af2d9511 (diff) | |
download | Doxygen-a30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2.zip Doxygen-a30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2.tar.gz Doxygen-a30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2.tar.bz2 |
Release-1.2.3-20001126
Diffstat (limited to 'src/ftvhelp.h')
-rw-r--r-- | src/ftvhelp.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/ftvhelp.h b/src/ftvhelp.h new file mode 100644 index 0000000..4e58ce1 --- /dev/null +++ b/src/ftvhelp.h @@ -0,0 +1,47 @@ +/****************************************************************************** + * ftvhelp.h,v 1.0 2000/09/06 16:09:00 + * + * Kenney Wong <kwong@ea.com> + * + * Folder Tree View for offline help on browsers that do not support HTML Help. + * Uses the FTV structure from: + * http://www.geocities.com/Paris/LeftBank/2178/ftexample.html + */ + +#ifndef FTVHELP_H +#define FTVHELP_H + +#include "qtbc.h" +#include <qtextstream.h> + +class QFile; + +/*! A class that generated the FTV Help specific file. + * This file is used in conjunction with additional FTV web browser code + * that can be obtained from: + * http://www.geocities.com/Paris/LeftBank/2178/ftexample.html + */ +class FTVHelp +{ + public: + static FTVHelp *getInstance(); + void initialize(); + void finalize(); + int incContentsDepth(); + int decContentsDepth(); + /*! return the current depth of the contents tree */ + int contentsDepth() { return m_dc; } + void addContentsItem(bool isDir, + const char *name, const char *ref = 0, + const char *anchor = 0); + + private: + FTVHelp(); + QFile *m_cf; + QTextStream m_cts; + int m_dc; + static FTVHelp *m_theInstance; +}; + +#endif /* FTVHELP_H */ + |