aboutsummaryrefslogtreecommitdiff
path: root/mod/page.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/page.hxx')
-rw-r--r--mod/page.hxx32
1 files changed, 32 insertions, 0 deletions
diff --git a/mod/page.hxx b/mod/page.hxx
index b7f895e..6d18f36 100644
--- a/mod/page.hxx
+++ b/mod/page.hxx
@@ -7,6 +7,8 @@
#include <libstudxml/forward.hxx>
+#include <libbbot/manifest.hxx>
+
#include <web/xhtml-fragment.hxx>
#include <libbrep/types.hxx>
@@ -90,6 +92,22 @@ namespace brep
const char* plural_;
};
+ // Generates table row element, that has the 'label: value' layout.
+ //
+ class TR_VALUE
+ {
+ public:
+ TR_VALUE (const string& l, const string& v)
+ : label_ (l), value_ (v) {}
+
+ void
+ operator() (xml::serializer&) const;
+
+ private:
+ const string& label_;
+ const string& value_;
+ };
+
// Generates package name element.
//
class TR_NAME
@@ -347,6 +365,20 @@ namespace brep
const string& comment_;
};
+ // Generates package build result status element.
+ //
+ class SPAN_BUILD_RESULT_STATUS
+ {
+ public:
+ SPAN_BUILD_RESULT_STATUS (const bbot::result_status& s): status_ (s) {}
+
+ void
+ operator() (xml::serializer&) const;
+
+ private:
+ const bbot::result_status& status_;
+ };
+
// Generates package description element.
//
class P_DESCRIPTION