summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 8aaf4dc..3a0ac18 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -50,6 +50,10 @@ public:
void PrintDocumentation(Type ht, std::ostream& os);
/** Set the program name for standard document generation. */
+ void SetName(const char* name);
+
+ /** Set the program name section for standard document
+ * generation. */
void SetNameSection(const cmDocumentationEntry*);
/** Set the program usage for standard document generation. */
@@ -134,7 +138,9 @@ private:
const cmDocumentationEntry* section,
const cmDocumentationEntry* footer,
std::vector<cmDocumentationEntry>&);
+ const char* GetNameString();
+ std::string NameString;
std::vector<cmDocumentationEntry> NameSection;
std::vector<cmDocumentationEntry> UsageSection;
std::vector<cmDocumentationEntry> DescriptionSection;