mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: move constructLocationTags from divesite.cpp to taxonomy.cpp
After all it doesn't access any dive_site structure. Moreover, rename it, since we use mostly snake_case in core. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7d7766be9a
commit
4ac2486a23
6 changed files with 55 additions and 55 deletions
|
|
@ -37,6 +37,7 @@ using taxonomy_data = std::vector<taxonomy>;
|
|||
|
||||
std::string taxonomy_get_value(const taxonomy_data &t, enum taxonomy_category cat);
|
||||
std::string taxonomy_get_country(const taxonomy_data &t);
|
||||
std::string taxonomy_get_location_tags(const taxonomy_data &taxonomy, bool for_maintab);
|
||||
void taxonomy_set_category(taxonomy_data &t, enum taxonomy_category category, const std::string &value, enum taxonomy_origin origin);
|
||||
void taxonomy_set_country(taxonomy_data &t, const std::string &country, enum taxonomy_origin origin);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue