From 21033565488f6c63b4c40962cccfdc8b6ca32b2a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 7 Jul 2018 19:09:53 +0300 Subject: Add support for package submission --- mod/mod-repository-root.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mod/mod-repository-root.hxx') diff --git a/mod/mod-repository-root.hxx b/mod/mod-repository-root.hxx index 70840ae..74691ea 100644 --- a/mod/mod-repository-root.hxx +++ b/mod/mod-repository-root.hxx @@ -22,8 +22,9 @@ namespace brep class build_force; class build_log; class builds; + class submit; - class repository_root: public module + class repository_root: public handler { public: repository_root (); @@ -65,14 +66,15 @@ namespace brep shared_ptr build_force_; shared_ptr build_log_; shared_ptr builds_; + shared_ptr submit_; shared_ptr options_; - // Sub-module the request is dispatched to. Initially is NULL. It is set + // Sub-handler 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 handler_; + unique_ptr handler_; }; } -- cgit v1.1