aboutsummaryrefslogtreecommitdiff
path: root/brep/mod-package-details
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-22 19:29:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-08 18:26:00 +0200
commitc715379c625935bd4b28bebb35f34721342cc7f3 (patch)
tree97e55364e786ab794514450e879006ee61ac8643 /brep/mod-package-details
parenteb16296f88ce0fdb4a98a08950b58a346a6e2bd9 (diff)
Source file names fixup
Diffstat (limited to 'brep/mod-package-details')
-rw-r--r--brep/mod-package-details36
1 files changed, 36 insertions, 0 deletions
diff --git a/brep/mod-package-details b/brep/mod-package-details
new file mode 100644
index 0000000..e6603f3
--- /dev/null
+++ b/brep/mod-package-details
@@ -0,0 +1,36 @@
+// file : brep/mod-package-details -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BREP_MOD_PACKAGE_DETAILS
+#define BREP_MOD_PACKAGE_DETAILS
+
+#include <odb/forward.hxx> // database
+
+#include <brep/types>
+
+#include <brep/module>
+#include <brep/options>
+
+namespace brep
+{
+ class package_details: public module
+ {
+ public:
+ virtual bool
+ handle (request&, response&);
+
+ virtual const cli::options&
+ cli_options () const {return options::package_details::description ();}
+
+ private:
+ virtual void
+ init (cli::scanner&);
+
+ private:
+ shared_ptr<options::package_details> options_;
+ shared_ptr<odb::core::database> db_;
+ };
+}
+
+#endif // BREP_MOD_PACKAGE_DETAILS