aboutsummaryrefslogtreecommitdiff
path: root/brep/repository-details
diff options
context:
space:
mode:
Diffstat (limited to 'brep/repository-details')
-rw-r--r--brep/repository-details32
1 files changed, 32 insertions, 0 deletions
diff --git a/brep/repository-details b/brep/repository-details
new file mode 100644
index 0000000..a3008dc
--- /dev/null
+++ b/brep/repository-details
@@ -0,0 +1,32 @@
+// file : brep/repository-details -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BREP_REPOSITORY_DETAILS
+#define BREP_REPOSITORY_DETAILS
+
+#include <memory> // shared_ptr
+
+#include <odb/forward.hxx> // database
+
+#include <brep/module>
+#include <brep/options>
+
+namespace brep
+{
+ class repository_details: public module
+ {
+ private:
+ virtual void
+ handle (request&, response&);
+
+ virtual void
+ init (cli::scanner&);
+
+ private:
+ std::shared_ptr<options::repository_details> options_;
+ std::shared_ptr<odb::core::database> db_;
+ };
+}
+
+#endif // BREP_REPOSITORY_DETAILS