Doxygen
Loading...
Searching...
No Matches
ftvhelp.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2021 by Dimitri van Heesch.
4 *
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.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 */
15
16/******************************************************************************
17 * ftvhelp.h,v 1.0 2000/09/06 16:09:00
18 *
19 * Kenney Wong <kwong@ea.com>
20 *
21 * Folder Tree View for offline help on browsers that do not support HTML Help.
22 */
23
24#ifndef FTVHELP_H
25#define FTVHELP_H
26
27#include <memory>
28#include <vector>
29#include "qcstring.h"
30#include "construct.h"
31#include "indexlist.h"
32
33class Definition;
34class MemberDef;
35class TextStream;
36
37
38/** A class that generates a dynamic tree view side panel.
39 */
40class FTVHelp : public IndexIntf
41{
42 public:
43 FTVHelp(bool LTI);
46
47 void initialize();
48 void finalize();
49 void incContentsDepth();
50 void decContentsDepth();
51 void addContentsItem(bool isDir,
52 const QCString &name,
53 const QCString &ref,
54 const QCString &file,
55 const QCString &anchor,
56 bool separateIndex,
57 bool addToNavIndex,
58 const Definition *def);
59 void addIndexItem(const Definition *,const MemberDef *,const QCString &,const QCString &) {}
60 void addIndexFile(const QCString &) {}
61 void addImageFile(const QCString &) {}
62 void addStyleSheetFile(const QCString &) {}
63 void generateTreeView();
64 void generateTreeViewInline(TextStream &t);
65 static void generateTreeViewImages();
67 private:
68 struct Private;
69 std::unique_ptr<Private> p;
70};
71
72constexpr auto JAVASCRIPT_LICENSE_TEXT = R"LIC(/*
73 @licstart The following is the entire license notice for the JavaScript code in this file.
74
75 The MIT License (MIT)
76
77 Copyright (C) 1997-2020 by Dimitri van Heesch
78
79 Permission is hereby granted, free of charge, to any person obtaining a copy of this software
80 and associated documentation files (the "Software"), to deal in the Software without restriction,
81 including without limitation the rights to use, copy, modify, merge, publish, distribute,
82 sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
83 furnished to do so, subject to the following conditions:
84
85 The above copyright notice and this permission notice shall be included in all copies or
86 substantial portions of the Software.
87
88 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
89 BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
90 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
91 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
92 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
93
94 @licend The above is the entire license notice for the JavaScript code in this file
95*/
96)LIC";
97
98#endif /* FTVHELP_H */
99
The common base class of all entity definitions found in the sources.
Definition definition.h:76
std::unique_ptr< Private > p
Definition ftvhelp.h:69
void generateTreeView()
Definition ftvhelp.cpp:936
void addIndexFile(const QCString &)
Definition ftvhelp.h:60
void addImageFile(const QCString &)
Definition ftvhelp.h:61
void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def)
Definition ftvhelp.cpp:184
void decContentsDepth()
Definition ftvhelp.cpp:153
void finalize()
Definition ftvhelp.cpp:133
void addIndexItem(const Definition *, const MemberDef *, const QCString &, const QCString &)
Definition ftvhelp.h:59
void initialize()
Definition ftvhelp.cpp:125
FTVHelp(bool LTI)
Definition ftvhelp.cpp:119
void incContentsDepth()
Definition ftvhelp.cpp:142
static void generateTreeViewImages()
Definition ftvhelp.cpp:851
void generateTreeViewScripts()
Definition ftvhelp.cpp:866
void generateTreeViewInline(TextStream &t)
Definition ftvhelp.cpp:875
void addStyleSheetFile(const QCString &)
Definition ftvhelp.h:62
Abstract interface for index generators.
Definition indexlist.h:33
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
Text streaming class that buffers data.
Definition textstream.h:36
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37
constexpr auto JAVASCRIPT_LICENSE_TEXT
Definition ftvhelp.h:72