summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-22 13:34:57 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-07-22 13:34:57 (GMT)
commit982fce9e021e5359ec2572cbbb815a47bc822e70 (patch)
tree24d8fc538734f725ebb718ff720b4e8b61d9720d /src/definition.h
parent5c4ee43f13433a0c1de63805cc139b61e9a4d872 (diff)
parent956342ae0b2e09f5e398778c255006f9d26e7b52 (diff)
downloadDoxygen-982fce9e021e5359ec2572cbbb815a47bc822e70.zip
Doxygen-982fce9e021e5359ec2572cbbb815a47bc822e70.tar.gz
Doxygen-982fce9e021e5359ec2572cbbb815a47bc822e70.tar.bz2
Merge branch 'feature/bug_tableofcontents_latex' of https://github.com/albert-github/doxygen into albert-github-feature/bug_tableofcontents_latex
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/definition.h b/src/definition.h
index d16c6b9..ac9cc56 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -97,6 +97,13 @@ class Definition : public DefinitionIntf
virtual ~Cookie() {}
};
+ enum outputLocalTocType {
+ None = 0, // absolute value
+ Html = 0, // index / also to be used as (1 << Definition::Html)
+ Latex = 1, // ...
+ Xml = 2, // ...
+ numOutputLocalTocType = 3 // number of outputLocalTocType
+ };
/*! Create a new definition */
Definition(
const char *defFileName,int defLine,int defColumn,
@@ -275,6 +282,9 @@ class Definition : public DefinitionIntf
QCString id() const;
+ /** returns the section dictionary, only of importance for pagedef */
+ SectionDict * getSectionDict(void);
+
//-----------------------------------------------------------------------------------
// ---- setters -----
//-----------------------------------------------------------------------------------
@@ -346,7 +356,7 @@ class Definition : public DefinitionIntf
void setLocalName(const QCString name);
void addSectionsToIndex();
- void writeToc(OutputList &ol);
+ void writeToc(OutputList &ol, int localToc, int *localTocLevel);
void setCookie(Cookie *cookie) { delete m_cookie; m_cookie = cookie; }
Cookie *cookie() const { return m_cookie; }