aboutsummaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-21 21:00:06 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-22 20:14:34 -0800
commit50aa6d1afa38a3d71d9d699fbf9635aed34a6c14 (patch)
tree5263825db515693a307f6d5ff2e79014ef9cc14d /dive.h
parent8d2abc05f60cb9a5ec79db9a215fe8aa97e0c311 (diff)
downloadsubsurface-50aa6d1afa38a3d71d9d699fbf9635aed34a6c14.tar.gz
Imrpove the nickname handling
We now store the model information together with the deviceid and nickname in order to be able to check if we have a record for any dive computer with the same model (as that now triggers our nickname dialog). This changes the format of the config entries for nicknames - the best solution might be to just delete those and start again. What is still missing is the code to store the nicknames in the XML file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index b7fae2a85..32b7e0027 100644
--- a/dive.h
+++ b/dive.h
@@ -529,7 +529,7 @@ extern void flush_divelist(struct dive *dive);
extern void set_dc_nickname(struct dive *dive);
extern const char *get_dc_nickname(uint32_t deviceid);
-extern void remember_dc(uint32_t deviceid, const char *nickname, gboolean change_conf);
+extern void remember_dc(uint32_t deviceid, const char *model, const char *nickname, gboolean change_conf);
#define DIVE_ERROR_PARSE 1