summaryrefslogtreecommitdiffstats
path: root/src/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.h')
-rw-r--r--src/layout.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/layout.h b/src/layout.h
index 4602ce4..3425a4c 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -78,8 +78,10 @@ struct LayoutDocEntrySimple : LayoutDocEntry
struct LayoutDocEntrySection: public LayoutDocEntrySimple
{
LayoutDocEntrySection(Kind k,const QCString &tl) :
- LayoutDocEntrySimple(k), title(tl) {}
- QCString title;
+ LayoutDocEntrySimple(k), m_title(tl) {}
+ QCString title(SrcLangExt lang) const;
+private:
+ QCString m_title;
};
/** @brief Represents of a member declaration list with configurable title and subtitle. */
@@ -87,23 +89,28 @@ struct LayoutDocEntryMemberDecl: public LayoutDocEntry
{
LayoutDocEntryMemberDecl(MemberList::ListType tp,
const QCString &tl,const QCString &ss)
- : type(tp), title(tl),subscript(ss) {}
+ : type(tp), m_title(tl), m_subscript(ss) {}
Kind kind() const { return MemberDecl; }
MemberList::ListType type;
- QCString title;
- QCString subscript;
+ QCString title(SrcLangExt lang) const;
+ QCString subtitle(SrcLangExt lang) const;
+private:
+ QCString m_title;
+ QCString m_subscript;
};
/** @brief Represents of a member definition list with configurable title. */
struct LayoutDocEntryMemberDef: public LayoutDocEntry
{
LayoutDocEntryMemberDef(MemberList::ListType tp,const QCString &tl)
- : type(tp), title(tl) {}
+ : type(tp), m_title(tl) {}
Kind kind() const { return MemberDef; }
MemberList::ListType type;
- QCString title;
+ QCString title(SrcLangExt lang) const;
+private:
+ QCString m_title;
};
/** @brief Base class for the layout of a navigation item at the top of the HTML pages. */