mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f7b7d4c2df
commit
a413141b33
4 changed files with 22 additions and 16 deletions
5
pref.h
5
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue