Doxygen
Loading...
Searching...
No Matches
eclipsehelp.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
6 *
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.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17/*
18 * eclipsehelp.h
19 *
20 * Created on: 7.11.2009
21 * Author: ondrej
22 */
23
24#ifndef ECLIPSEHELP_H
25#define ECLIPSEHELP_H
26
27#include <memory>
28
29#include "qcstring.h"
30#include "construct.h"
31#include "indexlist.h"
32
33/* -- forward declarations */
34class Definition;
35class MemberDef;
36
37/** Generator for Eclipse help files.
38 *
39 * This class generates the Eclipse specific help files.
40 * These files can be used to generate a help plugin readable
41 * by the Eclipse IDE.
42 */
43class EclipseHelp : public IndexIntf
44{
45 public:
47 virtual ~EclipseHelp();
49
50 /* -- index interface */
51 virtual void initialize();
52 virtual void finalize();
53 virtual void incContentsDepth();
54 virtual void decContentsDepth();
55 virtual void addContentsItem(bool isDir, const QCString &name, const QCString &ref,
56 const QCString &file, const QCString &anchor,bool separateIndex,bool addToNavIndex,
57 const Definition *def);
58 virtual void addIndexItem(const Definition *context,const MemberDef *md,
59 const QCString &sectionAnchor,const QCString &title);
60 virtual void addIndexFile(const QCString &name);
61 virtual void addImageFile(const QCString &name);
62 virtual void addStyleSheetFile(const QCString &name);
63
64 private:
65 struct Private;
66 std::unique_ptr<Private> p;
67};
68
69#endif /* ECLIPSEHELP_H */
The common base class of all entity definitions found in the sources.
Definition definition.h:76
virtual ~EclipseHelp()
virtual void addIndexFile(const QCString &name)
virtual void addStyleSheetFile(const QCString &name)
virtual void decContentsDepth()
Decrease the level of content hierarchy.
std::unique_ptr< Private > p
Definition eclipsehelp.h:66
virtual void finalize()
Finish generation of the Eclipse specific help files.
virtual void incContentsDepth()
Increase the level of content hierarchy.
virtual void addIndexItem(const Definition *context, const MemberDef *md, const QCString &sectionAnchor, const QCString &title)
virtual void addImageFile(const QCString &name)
virtual void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def)
Add an item to the content.
virtual void initialize()
Initialize the Eclipse generator.
Abstract interface for index generators.
Definition indexlist.h:33
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
This is an alternative implementation of QCString.
Definition qcstring.h:101
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37