summaryrefslogtreecommitdiff
path: root/aoview/aoview.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-17 00:13:45 -0700
committerKeith Packard <keithp@keithp.com>2009-05-17 00:13:45 -0700
commitbe3f4fed7b863c8cdaabe32b61b65a8b3cd11355 (patch)
treec60a999a6abc8061492b7cdddd141353e8768700 /aoview/aoview.h
parent93d7ce8e054515ed7b166eb042ae7f47e564d21d (diff)
Add lots more aoview UI bits
Logs data to files, displays current state in window. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'aoview/aoview.h')
-rw-r--r--aoview/aoview.h44
1 files changed, 42 insertions, 2 deletions
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 <gtk/gtk.h>
-#include <glade/glade.h>
+#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
@@ -33,6 +32,10 @@
#include <sys/stat.h>
#include <assert.h>
+#include <gtk/gtk.h>
+#include <glade/glade.h>
+#include <gconf/gconf-client.h>
+
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_ */