summaryrefslogtreecommitdiffstats
path: root/divelist.h
blob: dc573d770c313797501c3e30053cad73d854bf7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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