mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 15:46:15 +00:00
19 lines
346 B
C
19 lines
346 B
C
|
#ifndef DIVELIST_H
|
||
|
#define DIVELIST_H
|
||
|
|
||
|
#include <gtk/gtk.h>
|
||
|
|
||
|
struct DiveList {
|
||
|
GtkWidget *tree_view;
|
||
|
GtkWidget *container_widget;
|
||
|
GtkListStore *model;
|
||
|
};
|
||
|
|
||
|
extern int selected_dive;
|
||
|
#define current_dive (get_dive(selected_dive))
|
||
|
|
||
|
extern struct DiveList dive_list_create(void);
|
||
|
extern void dive_list_update_dives(struct DiveList);
|
||
|
|
||
|
#endif
|