summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-08-26 11:53:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-08-26 11:53:48 (GMT)
commita2ea725e1b0070ee8bcf55683157e67f5f727254 (patch)
treeb0937b7106fafdf812c4faa9d5bf600279dc0afa /src/mangen.cpp
parenta77fed0a607887a9ea023791b13e227a44eb82fc (diff)
downloadDoxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.zip
Doxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.tar.gz
Doxygen-a2ea725e1b0070ee8bcf55683157e67f5f727254.tar.bz2
Renamed (start/end)SimpleSect to (start/end)Examples.
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r--src/mangen.cpp25
1 files changed, 22 insertions, 3 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp
index 99be1dc..2a10db6 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -650,8 +650,25 @@ void ManGenerator::endSection(const char *,SectionInfo::SectionType type)
}
}
-void ManGenerator::startSimpleSect(SectionTypes,const char *,
- const char *,const char *title)
+void ManGenerator::startExamples()
+{
+ if (!firstCol)
+ { t << endl << ".PP" << endl;
+ firstCol=TRUE; paragraph=TRUE;
+ col=0;
+ }
+ paragraph=FALSE;
+ startBold();
+ docify(theTranslator->trExamples());
+ endBold();
+ paragraph=TRUE;
+}
+
+void ManGenerator::endExamples()
+{
+}
+
+void ManGenerator::startDescTable(const char *title)
{
if (!firstCol)
{ t << endl << ".PP" << endl;
@@ -663,10 +680,12 @@ void ManGenerator::startSimpleSect(SectionTypes,const char *,
docify(title);
endBold();
paragraph=TRUE;
+ startDescForItem();
}
-void ManGenerator::endSimpleSect(SectionTypes)
+void ManGenerator::endDescTable()
{
+ endDescForItem();
}
void ManGenerator::startParamList(ParamListTypes,const char *title)