X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display-gtk.h;h=23fea912a9098af2fea81995601382cc023f4b75;hb=e5b6bfc7ed03bb6649abcfbac79f06aafd235918;hp=d5ffcb246de00702985882648e3372184745d7ae;hpb=f078bc04e1f55ad9ecd0632fcfa5753440ba2267;p=ext%2Fsubsurface.git diff --git a/display-gtk.h b/display-gtk.h index d5ffcb2..23fea91 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -32,6 +32,9 @@ extern void subsurface_set_conf(char *name, pref_type_t type, const void *value) extern const void *subsurface_get_conf(char *name, pref_type_t type); extern void subsurface_close_conf(void); +extern const char *subsurface_USB_name(void); +extern const char *subsurface_icon_name(void); + extern visible_cols_t visible_cols; extern const char *divelist_font; @@ -57,6 +60,11 @@ typedef void (*data_func_t)(GtkTreeViewColumn *col, GtkTreeIter *iter, gpointer data); +typedef gint (*sort_func_t)(GtkTreeModel *model, + GtkTreeIter *a, + GtkTreeIter *b, + gpointer user_data); + #define ALIGN_LEFT 1 #define ALIGN_RIGHT 2 #define INVISIBLE 4