diff options
Diffstat (limited to 'mod/page.hxx')
-rw-r--r-- | mod/page.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/page.hxx b/mod/page.hxx index d7c44d6..dea2733 100644 --- a/mod/page.hxx +++ b/mod/page.hxx @@ -14,6 +14,7 @@ #include <libbrep/types.hxx> #include <libbrep/utility.hxx> +#include <libbrep/build.hxx> #include <libbrep/package.hxx> #include <mod/options-types.hxx> // page_menu @@ -400,6 +401,23 @@ namespace brep const string& sha256sum_; }; + // Generates build results element. + // + class TR_BUILD_RESULT + { + public: + TR_BUILD_RESULT (const build& b, const string& h, const dir_path& r): + build_ (b), host_ (h), root_ (r) {} + + void + operator() (xml::serializer&) const; + + private: + const build& build_; + const string& host_; + const dir_path& root_; + }; + // Generates comment element. // class SPAN_COMMENT |