aboutsummaryrefslogtreecommitdiff
path: root/brep/page
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-19 15:28:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-28 01:53:51 +0200
commit5b336ac46f60606cdcf77889d624ce15cdd62530 (patch)
tree469c0dd598b072d13b9a27f458c96c8353745638 /brep/page
parent3e37999a5f9efd4caf44c40985b3e1254660a625 (diff)
Implement package search by terms
Diffstat (limited to 'brep/page')
-rw-r--r--brep/page14
1 files changed, 14 insertions, 0 deletions
diff --git a/brep/page b/brep/page
index d14bb41..b923c7f 100644
--- a/brep/page
+++ b/brep/page
@@ -124,6 +124,20 @@ namespace brep
private:
const priority& priority_;
};
+
+ // Generates package search element.
+ //
+ class FORM_SEARCH
+ {
+ public:
+ FORM_SEARCH (const std::string& q): query_ (q) {}
+
+ void
+ operator() (xml::serializer& s) const;
+
+ private:
+ const std::string& query_;
+ };
}
#endif // BREP_PAGE