diff options
Diffstat (limited to 'odb/profile.hxx')
-rw-r--r-- | odb/profile.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/odb/profile.hxx b/odb/profile.hxx index e3c5035..a545ef1 100644 --- a/odb/profile.hxx +++ b/odb/profile.hxx @@ -12,16 +12,22 @@ #include <cutl/fs/path.hxx> +#include <odb/option-types.hxx> + struct profile_data { typedef cutl::fs::path path; typedef std::vector<path> paths; - profile_data (paths const& p, char const* n): search_paths (p), name (n) {} + profile_data (paths const& p, database d, char const* n) + : search_paths (p), db (d), name (n) + { + } paths const& search_paths; - std::set<path> loaded; + database db; char const* name; + std::set<path> loaded; }; struct profile_failure {}; @@ -29,4 +35,7 @@ struct profile_failure {}; std::string profile_search (char const* profile, void* arg); +std::string +profile_search_ignore (char const* profile, void* arg); + #endif // ODB_PROFILE_HXX |