summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/context.hxx')
-rw-r--r--cli/context.hxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/cli/context.hxx b/cli/context.hxx
index 460287c..f16f8c2 100644
--- a/cli/context.hxx
+++ b/cli/context.hxx
@@ -30,6 +30,14 @@ enum usage
ut_both
};
+enum class_doc
+{
+ cd_default,
+ cd_exclude,
+ cd_short,
+ cd_long
+};
+
class context
{
public:
@@ -38,6 +46,7 @@ public:
typedef ::options options_type;
typedef ::usage usage_type;
+ typedef ::class_doc class_doc_type;
private:
struct data;
@@ -153,6 +162,14 @@ public:
ns_close (const string& name, bool last = true);
public:
+ class_doc_type
+ class_doc (semantics::class_&);
+
+public:
+ string
+ first_sentence (string const&);
+
+public:
context (std::ostream&, semantics::cli_unit&, options_type const&);
context (context&);