diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-22 19:29:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-08 18:26:00 +0200 |
commit | c715379c625935bd4b28bebb35f34721342cc7f3 (patch) | |
tree | 97e55364e786ab794514450e879006ee61ac8643 /brep/mod-repository-root | |
parent | eb16296f88ce0fdb4a98a08950b58a346a6e2bd9 (diff) |
Source file names fixup
Diffstat (limited to 'brep/mod-repository-root')
-rw-r--r-- | brep/mod-repository-root | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/brep/mod-repository-root b/brep/mod-repository-root new file mode 100644 index 0000000..9030ee8 --- /dev/null +++ b/brep/mod-repository-root @@ -0,0 +1,53 @@ +// file : brep/mod-repository-root -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BREP_MOD_REPOSITORY_ROOT +#define BREP_MOD_REPOSITORY_ROOT + +#include <brep/types> + +#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 (); + + 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 |