diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-06-21 21:06:08 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-06-21 21:06:08 (GMT) |
commit | 38df155dd394efd45dff887028b2e1a4c0969b03 (patch) | |
tree | 3f4d3c0c989321d01f1cfa1a4c2d8e6d045741ff /Source/cmDocumentationFormatterMan.h | |
parent | e6a935f39b2d15677830fdba8090d8c725165ca9 (diff) | |
download | CMake-38df155dd394efd45dff887028b2e1a4c0969b03.zip CMake-38df155dd394efd45dff887028b2e1a4c0969b03.tar.gz CMake-38df155dd394efd45dff887028b2e1a4c0969b03.tar.bz2 |
documentation: preparation for making the man section configurable
This patch adds a man section number, which is then used by the
DocumentationFormatterMan. The section number is right now always 1,
detecting this from the file name will be the next step.
Alex
Diffstat (limited to 'Source/cmDocumentationFormatterMan.h')
-rw-r--r-- | Source/cmDocumentationFormatterMan.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDocumentationFormatterMan.h b/Source/cmDocumentationFormatterMan.h index 11b5acb..b3d069c 100644 --- a/Source/cmDocumentationFormatterMan.h +++ b/Source/cmDocumentationFormatterMan.h @@ -22,6 +22,8 @@ class cmDocumentationFormatterMan : public cmDocumentationFormatter public: cmDocumentationFormatterMan(); + void SetManSection(int manSection); + virtual cmDocumentationEnums::Form GetForm() const { return cmDocumentationEnums::ManForm;} @@ -35,6 +37,7 @@ public: private: void EscapeText(std::string& man_text); + int ManSection; }; #endif |