summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 02:14:00 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-16 14:37:05 (GMT)
commit30bcdafaeff789b20cc8b6e97b8271c0105a93b1 (patch)
treea234708d2e65fce950b8daad6788019aa32a287a /Source/cmDocumentation.h
parente2f12b6c8be2486bf37916c301015db4fd41e984 (diff)
downloadCMake-30bcdafaeff789b20cc8b6e97b8271c0105a93b1.zip
CMake-30bcdafaeff789b20cc8b6e97b8271c0105a93b1.tar.gz
CMake-30bcdafaeff789b20cc8b6e97b8271c0105a93b1.tar.bz2
cmDocumentation: Remove MSVC 6 workaround
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 313be32..ab027d1 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -15,9 +15,33 @@
struct cmDocumentationEntry;
/** Class to generate documentation. */
-class cmDocumentation : public cmDocumentationEnums
+class cmDocumentation
{
public:
+ /** Types of help provided. */
+ enum Type
+ {
+ None,
+ Version,
+ Usage,
+ Help,
+ Full,
+ ListManuals,
+ ListCommands,
+ ListModules,
+ ListProperties,
+ ListVariables,
+ ListPolicies,
+ ListGenerators,
+ OneManual,
+ OneCommand,
+ OneModule,
+ OneProperty,
+ OneVariable,
+ OnePolicy,
+ OldCustomModules
+ };
+
cmDocumentation();
/**
@@ -114,7 +138,7 @@ private:
struct RequestedHelpItem
{
- cmDocumentationEnums::Type HelpType = None;
+ Type HelpType = None;
std::string Filename;
std::string Argument;
};