diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-01-11 13:24:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-11 05:54:35 -0800 |
commit | c4ae58d589bdf315223c41716ca4b0ae747a8498 (patch) | |
tree | 4a3434b96c4ed82b789f875f5029549a59ba9075 /display-gtk.h | |
parent | ac376ea379b50bab3b172842d9ce2e67e3b03783 (diff) | |
download | subsurface-c4ae58d589bdf315223c41716ca4b0ae747a8498.tar.gz |
gtk-gui.c: Move the download dialog related code to a new file
A new file download-dialog.c now contains all code related
to the download dialog, which was previously defined in gtk-gui.c.
Also, a new file callbacks-gtk.h now has two macros
OPTIONCALLBACK, UNITCALLBACK shared only between
download-dialog.c and gtk-gui.c.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/display-gtk.h b/display-gtk.h index 60e0c40f8..e083a3e96 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -32,19 +32,24 @@ extern void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, extern void quit(GtkWidget *w, gpointer data); extern gboolean on_delete(GtkWidget* w, gpointer data); -extern int is_default_dive_computer_device(const char *name); - extern const char *divelist_font; extern void set_divelist_font(const char *); extern void import_files(GtkWidget *, gpointer); +extern void update_screen(void); extern void download_dialog(GtkWidget *, gpointer); +extern int is_default_dive_computer_device(const char *); +extern int is_default_dive_computer(const char *, const char *); extern void add_dive_cb(GtkWidget *, gpointer); extern void report_error(GError* error); extern int process_ui_events(void); extern void update_progressbar(progressbar_t *progress, double value); extern void update_progressbar_text(progressbar_t *progress, const char *text); +extern const char *default_dive_computer_vendor; +extern const char *default_dive_computer_product; +extern const char *default_dive_computer_device; + // info.c enum { MATCH_EXACT, |