aboutsummaryrefslogtreecommitdiff
path: root/mod/page.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-14 17:45:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-14 17:45:52 +0300
commitef2bc84384177d6302f193786f0aff131862416d (patch)
treeb2c38edbc0bf634b6cdfbf11b7a96afff82977aa /mod/page.hxx
parent46ab16e599d4d0725526b70a0024d33429908e94 (diff)
Make some web interface cleanups
Diffstat (limited to 'mod/page.hxx')
-rw-r--r--mod/page.hxx22
1 files changed, 5 insertions, 17 deletions
diff --git a/mod/page.hxx b/mod/page.hxx
index cc9840e..acfbe5b 100644
--- a/mod/page.hxx
+++ b/mod/page.hxx
@@ -424,32 +424,20 @@ namespace brep
class TR_REPOSITORY
{
public:
- TR_REPOSITORY (const string& n, const dir_path& r, const string& t)
- : name_ (n), root_ (r), tenant_ (t) {}
+ TR_REPOSITORY (const repository_location& l,
+ const dir_path& r,
+ const string& t)
+ : location_ (l), root_ (r), tenant_ (t) {}
void
operator() (xml::serializer&) const;
private:
- const string& name_;
+ const repository_location& location_;
const dir_path& root_;
const string& tenant_;
};
- // Generate repository location element.
- //
- class TR_LOCATION
- {
- public:
- TR_LOCATION (const repository_location& l): location_ (l) {}
-
- void
- operator() (xml::serializer&) const;
-
- private:
- const repository_location& location_;
- };
-
// Generate link element.
//
class TR_LINK