diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-21 16:05:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-21 16:05:13 +0200 |
commit | 2a0f39b29c1bea6a4497c0f1826052ffa453af9e (patch) | |
tree | 283f6bf1569c1b9f00b6e25fe986ccfff8a8629f /brep/mod-repository-root | |
parent | c6b4d6c6489731eedba606d3c85c4319c4478b50 (diff) |
Move module implementation from brep/ to mod/
Diffstat (limited to 'brep/mod-repository-root')
-rw-r--r-- | brep/mod-repository-root | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/brep/mod-repository-root b/brep/mod-repository-root deleted file mode 100644 index f2c2ba0..0000000 --- a/brep/mod-repository-root +++ /dev/null @@ -1,60 +0,0 @@ -// file : brep/mod-repository-root -*- C++ -*- -// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BREP_MOD_REPOSITORY_ROOT -#define BREP_MOD_REPOSITORY_ROOT - -#include <brep/types> -#include <brep/utility> - -#include <brep/module> -#include <brep/options> - -namespace brep -{ - class package_search; - class package_details; - class package_version_details; - class repository_details; - - class repository_root: public module - { - public: - repository_root (); - - // Create a shallow copy (handling instance) if initialized and a deep - // copy (context exemplar) otherwise. - // - explicit - repository_root (const repository_root&); - - private: - virtual bool - handle (request&, response&); - - virtual const cli::options& - cli_options () const {return options::repository_root::description ();} - - virtual option_descriptions - options (); - - virtual void - init (const name_values&); - - virtual void - init (cli::scanner&); - - virtual void - version (); - - private: - shared_ptr<package_search> package_search_; - shared_ptr<package_details> package_details_; - shared_ptr<package_version_details> package_version_details_; - shared_ptr<repository_details> repository_details_; - shared_ptr<options::repository_root> options_; - }; -} - -#endif // BREP_MOD_REPOSITORY_ROOT |