aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-repository-root
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-29 23:55:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:57:17 +0300
commit8f3d3956b1e837c726859eb8bbe19dad79c54a42 (patch)
tree81ded52db212b12c7f685165702cce90aa0233cf /mod/mod-repository-root
parentea60a6df471706a0eeb5ff1f774d69abe89e4bc9 (diff)
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'mod/mod-repository-root')
-rw-r--r--mod/mod-repository-root77
1 files changed, 0 insertions, 77 deletions
diff --git a/mod/mod-repository-root b/mod/mod-repository-root
deleted file mode 100644
index b347cd3..0000000
--- a/mod/mod-repository-root
+++ /dev/null
@@ -1,77 +0,0 @@
-// file : mod/mod-repository-root -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef MOD_MOD_REPOSITORY_ROOT
-#define MOD_MOD_REPOSITORY_ROOT
-
-#include <brep/types>
-#include <brep/utility>
-
-#include <mod/module>
-#include <mod/options>
-
-namespace brep
-{
- class package_search;
- class package_details;
- class package_version_details;
- class repository_details;
- class build_task;
- class build_result;
- class build_force;
- class build_log;
-
- class repository_root: public module
- {
- public:
- repository_root ();
-
- // Copy constructible-only type.
- //
- // 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<build_task> build_task_;
- shared_ptr<build_result> build_result_;
- shared_ptr<build_force> build_force_;
- shared_ptr<build_log> build_log_;
- shared_ptr<options::repository_root> options_;
-
- // Sub-module the request is dispatched to. Initially is NULL. It is set
- // by the first call to handle() to a deep copy of the selected exemplar.
- // The subsequent calls of handle() (that may take place after the retry
- // exception is thrown) will use the existing handler instance.
- //
- unique_ptr<module> handler_;
- };
-}
-
-#endif // MOD_MOD_REPOSITORY_ROOT