diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 12:08:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 16:42:40 +0200 |
commit | 6eca8a647c79e9a5b100672b55f5d02273a28772 (patch) | |
tree | 5361b9007cace2dfdf95c55b009abdcaab1ad60e /brep/repository-details | |
parent | ba283a252267e0365408db3d6b7cf410edccac1b (diff) |
Implement 'about' web page
Diffstat (limited to 'brep/repository-details')
-rw-r--r-- | brep/repository-details | 32 |
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 |