aboutsummaryrefslogtreecommitdiff
path: root/mod/database-module.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-14 00:37:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-15 20:37:43 +0300
commit5163436b00711318baea4fc0ad43a4de8222354a (patch)
treea05c06693bda84dd9a9b365a50c227126a5ec05f /mod/database-module.hxx
parent2ebf9de408f3fd629126a20b21221e186195813c (diff)
Implement builds page
Diffstat (limited to 'mod/database-module.hxx')
-rw-r--r--mod/database-module.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/database-module.hxx b/mod/database-module.hxx
index 13fd529..a61e2e4 100644
--- a/mod/database-module.hxx
+++ b/mod/database-module.hxx
@@ -5,8 +5,12 @@
#ifndef MOD_DATABASE_MODULE_HXX
#define MOD_DATABASE_MODULE_HXX
+#include <map>
+
#include <odb/forward.hxx> // database
+#include <libbutl/utility.hxx> // compare_c_string
+
#include <libbrep/types.hxx>
#include <libbrep/utility.hxx>
@@ -63,6 +67,12 @@ namespace brep
//
shared_ptr<odb::core::database> build_db_;
shared_ptr<const bbot::build_configs> build_conf_;
+ shared_ptr<const cstrings> build_conf_names_;
+
+ shared_ptr<const std::map<const char*,
+ const bbot::build_config*,
+ butl::compare_c_string>>
+ build_conf_map_;
private:
virtual bool