aboutsummaryrefslogtreecommitdiff
path: root/brep/view
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-30 14:25:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-30 14:25:29 +0200
commit07780b06aa7b0fe049cc412309cf87e7fb10a0ef (patch)
treeb6d0f1ee50223f5cbbc4b8c5d0dc4f69ff7f2352 /brep/view
parent259a92ac4e1ac50e4c029f54265b735f6214b49d (diff)
Implement module configuration with an option list
Diffstat (limited to 'brep/view')
-rw-r--r--brep/view10
1 files changed, 10 insertions, 0 deletions
diff --git a/brep/view b/brep/view
index 819eff3..d97f9cf 100644
--- a/brep/view
+++ b/brep/view
@@ -5,7 +5,10 @@
#ifndef BREP_VIEW
#define BREP_VIEW
+#include <memory> // shared_ptr
+
#include <brep/module>
+#include <brep/options>
namespace brep
{
@@ -14,6 +17,13 @@ namespace brep
public:
virtual void
handle (request&, response&);
+
+ virtual void
+ init (::cli::scanner&);
+
+ private:
+
+ std::shared_ptr<view_options> options_;
};
}