aboutsummaryrefslogtreecommitdiff
path: root/brep/mod-package-version-details
diff options
context:
space:
mode:
Diffstat (limited to 'brep/mod-package-version-details')
-rw-r--r--brep/mod-package-version-details39
1 files changed, 39 insertions, 0 deletions
diff --git a/brep/mod-package-version-details b/brep/mod-package-version-details
new file mode 100644
index 0000000..48bf453
--- /dev/null
+++ b/brep/mod-package-version-details
@@ -0,0 +1,39 @@
+// file : brep/mod-package-version-details -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BREP_MOD_PACKAGE_VERSION_DETAILS
+#define BREP_MOD_PACKAGE_VERSION_DETAILS
+
+#include <odb/forward.hxx> // database
+
+#include <brep/types>
+
+#include <brep/module>
+#include <brep/options>
+
+namespace brep
+{
+ class package_version_details: public module
+ {
+ public:
+ virtual bool
+ handle (request&, response&);
+
+ virtual const cli::options&
+ cli_options () const
+ {
+ return options::package_version_details::description ();
+ }
+
+ private:
+ virtual void
+ init (cli::scanner&);
+
+ private:
+ shared_ptr<options::package_version_details> options_;
+ shared_ptr<odb::core::database> db_;
+ };
+}
+
+#endif // BREP_MOD_PACKAGE_VERSION_DETAILS