summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/context.hxx')
-rw-r--r--cli/context.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/context.hxx b/cli/context.hxx
index 8dc9fff..c3caa73 100644
--- a/cli/context.hxx
+++ b/cli/context.hxx
@@ -53,4 +53,20 @@ private:
operator= (context const&);
};
+// Standard namespace traverser.
+//
+struct namespace_: traversal::namespace_, context
+{
+ namespace_ (context& c)
+ : context (c)
+ {
+ }
+
+ virtual void
+ pre (type&);
+
+ virtual void
+ post (type&);
+};
+
#endif // CLI_CONTEXT_HXX