summaryrefslogblamecommitdiffstats
path: root/divelist.h
blob: c8bc5ff722c17f2a352f1b646d0278bbbad05a94 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                       
                                                   
                                                      
  
                                 
                                                    
                                                      
      
#ifndef DIVELIST_H
#define DIVELIST_H

#include <gtk/gtk.h>

struct DiveList {
	GtkWidget    *tree_view;
	GtkWidget    *container_widget;
	GtkListStore *model;
	GtkTreeViewColumn *date, *depth, *duration;
	GtkTreeViewColumn *temperature, *nitrox, *sac;
};

extern struct DiveList dive_list;
extern struct DiveList dive_list_create(void);
extern void dive_list_update_dives(struct DiveList);
extern void update_dive_list_units(struct DiveList *);

#endif