aboutsummaryrefslogtreecommitdiff
path: root/brep/types-parsers
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-16 20:02:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-25 20:35:10 +0200
commit2700ed6a3e1092a064f28b07f8e2c4e5b9b830e7 (patch)
treea54ffc979dde42e609bc9877120fa010887c6b66 /brep/types-parsers
parent48a3c47d34c2acc0a39e2db5acfd437dace499c1 (diff)
Implement new URL path schema for the web interface
Diffstat (limited to 'brep/types-parsers')
-rw-r--r--brep/types-parsers14
1 files changed, 11 insertions, 3 deletions
diff --git a/brep/types-parsers b/brep/types-parsers
index 6d30544..dfe86a6 100644
--- a/brep/types-parsers
+++ b/brep/types-parsers
@@ -8,7 +8,8 @@
#ifndef BREP_TYPES_PARSERS
#define BREP_TYPES_PARSERS
-#include <butl/path>
+#include <brep/types>
+#include <brep/options-types>
namespace brep
{
@@ -20,10 +21,17 @@ namespace brep
struct parser;
template <>
- struct parser<butl::dir_path>
+ struct parser<dir_path>
{
static void
- parse (butl::dir_path&, scanner&);
+ parse (dir_path&, scanner&);
+ };
+
+ template <>
+ struct parser<page_form>
+ {
+ static void
+ parse (page_form&, scanner&);
};
}
}