From a413141b334e89b0c9944bc403b8774f85427509 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 1 Jul 2015 12:32:46 -0700 Subject: 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 --- pref.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pref.h') diff --git a/pref.h b/pref.h index 03b28a98c..0470d0e3b 100644 --- a/pref.h +++ b/pref.h @@ -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 { -- cgit v1.2.3-70-g09d2