2011-09-05 19:12:58 +00:00
|
|
|
#ifndef DIVELIST_H
|
|
|
|
#define DIVELIST_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
struct DiveList {
|
|
|
|
GtkWidget *tree_view;
|
|
|
|
GtkWidget *container_widget;
|
|
|
|
GtkListStore *model;
|
2011-09-07 15:42:05 +00:00
|
|
|
GtkTreeViewColumn *date, *depth, *duration;
|
2011-09-05 19:12:58 +00:00
|
|
|
};
|
|
|
|
|
2011-09-12 20:25:05 +00:00
|
|
|
extern struct DiveList dive_list;
|
2011-09-05 19:12:58 +00:00
|
|
|
extern struct DiveList dive_list_create(void);
|
|
|
|
extern void dive_list_update_dives(struct DiveList);
|
2011-09-07 19:01:37 +00:00
|
|
|
extern void update_dive_list_units(struct DiveList *);
|
2011-09-05 19:12:58 +00:00
|
|
|
|
|
|
|
#endif
|