diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-01 12:32:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-01 12:38:40 -0700 |
commit | a413141b334e89b0c9944bc403b8774f85427509 (patch) | |
tree | 323df09d9fa03984b3ce17340fb408633df46db5 /pref.h | |
parent | f7b7d4c2df7fb82421588c69b3aa34e702dcbfdb (diff) | |
download | subsurface-a413141b334e89b0c9944bc403b8774f85427509.tar.gz |
Geo taxonomy: adjust the preferences to the new data structures
This allows us to pick which three categories of geo taxonomy will be
shown in the UI.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'pref.h')
-rw-r--r-- | pref.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6,6 +6,7 @@ extern "C" { #endif #include "units.h" +#include "taxonomy.h" /* can't use 'bool' for the boolean values - different size in C and C++ */ typedef struct @@ -28,9 +29,7 @@ typedef struct { bool enable_geocoding; bool parse_dive_without_gps; bool tag_existing_dives; - char *first_item; - char *second_item; - char *third_item; + enum taxonomy_category category[3]; } geocoding_prefs_t; struct preferences { |