X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview.h;h=a3214128b480b38720a1010eaf67355a90741ce6;hp=028b2f162839a56aed1c598a3dd829c1197c0608;hb=be3f4fed7b863c8cdaabe32b61b65a8b3cd11355;hpb=93d7ce8e054515ed7b166eb042ae7f47e564d21d diff --git a/aoview/aoview.h b/aoview/aoview.h index 028b2f16..a3214128 100644 --- a/aoview/aoview.h +++ b/aoview/aoview.h @@ -18,8 +18,7 @@ #ifndef _AOVIEW_H_ #define _AOVIEW_H_ -#include -#include +#define _GNU_SOURCE #include #include @@ -33,6 +32,10 @@ #include #include +#include +#include +#include + struct usbdev { char *sys; char *tty; @@ -115,4 +118,41 @@ aoview_pres_to_altitude(int16_t pres); int16_t aoview_altitude_to_pres(int16_t alt); +char * +aoview_fullname (char *dir, char *file); + +char * +aoview_basename(char *file); + +GtkTreeViewColumn * +aoview_add_plain_text_column (GtkTreeView *view, const gchar *title, gint model_column, gint width); + +int +aoview_mkdir(char *dir); + +void +aoview_log_init(GladeXML *xml); + +void +aoview_log_set_serial(int serial); + +int +aoview_log_get_serial(void); + +void +aoview_log_printf(char *format, ...); + +void +aoview_table_start(void); + +void +aoview_table_add_row(char *label, char *format, ...); + +void +aoview_table_finish(void); + +void +aoview_table_init(GladeXML *xml); + + #endif /* _AOVIEW_H_ */