summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDocumentationFormatter.h')
-rw-r--r--Source/cmDocumentationFormatter.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index ca942bc..e269f6a 100644
--- a/Source/cmDocumentationFormatter.h
+++ b/Source/cmDocumentationFormatter.h
@@ -13,14 +13,15 @@ class cmDocumentationSection;
class cmDocumentationFormatter
{
public:
+ void SetIndent(std::size_t indent) { this->TextIndent = indent; }
void PrintFormatted(std::ostream& os, std::string const& text) const;
- void PrintPreformatted(std::ostream& os, std::string const& text) const;
void PrintSection(std::ostream& os, cmDocumentationSection const& section);
- void PrintParagraph(std::ostream& os, std::string const& text) const;
- void PrintColumn(std::ostream& os, std::string const& text) const;
- void SetIndent(std::size_t indent) { this->TextIndent = indent; }
private:
+ void PrintPreformatted(std::ostream& os, std::string const&) const;
+ void PrintParagraph(std::ostream& os, std::string const&) const;
+ void PrintColumn(std::ostream& os, std::string const&) const;
+
std::size_t TextWidth = 77u;
std::size_t TextIndent = 0u;
};