summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 18:28:46 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 18:28:46 (GMT)
commit0005e70c054ac55a536ffbc68447b7aa57e909d2 (patch)
tree606ff2bc7599a1a0bdb4436967c6ded38b563581 /Source/cmDocumentation.h
parent2c7a05edd21ad6a33c7dffc46e7fec53035d5bb9 (diff)
downloadCMake-0005e70c054ac55a536ffbc68447b7aa57e909d2.zip
CMake-0005e70c054ac55a536ffbc68447b7aa57e909d2.tar.gz
CMake-0005e70c054ac55a536ffbc68447b7aa57e909d2.tar.bz2
ENH: Further improved formatting. HTML/man/help now all have a consistent appearance.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 2735143..d32a173 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -48,8 +48,11 @@ private:
void PrintManSection(std::ostream& os, const cmDocumentationEntry* section,
const char* name);
void PrintHelpSection(std::ostream& os, const cmDocumentationEntry* section);
- void PrintHTMLEscapes(std::ostream& os, const char* text);
- void PrintHTMLFull(std::ostream& os, const char* text);
+ static void PrintHTMLEscapes(std::ostream& os, const char* text);
+ static void PrintHTMLPreformatted(std::ostream& os, const char* text);
+ void PrintFull(std::ostream& os, const char* text,
+ void (*pPreform)(std::ostream&, const char*),
+ void (*pNormal)(std::ostream&, const char*));
void PrintHelpHTMLSection(std::ostream& os,
const cmDocumentationEntry* section,
const char* header);