summaryrefslogtreecommitdiff
path: root/gpsmon.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-02-16 19:04:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-02-16 19:04:22 +0000
commitcde3d327ee2b5bd34f01f58433090f9312cf655d (patch)
treeacc090db8cd11b3dc2d47045d634a97c4ba021b5 /gpsmon.h
parentbe60413197a4448621c645a75370f82005c20e80 (diff)
downloadgpsd-cde3d327ee2b5bd34f01f58433090f9312cf655d.tar.gz
Introduce wrap method to deallocate windows.
Diffstat (limited to 'gpsmon.h')
-rw-r--r--gpsmon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsmon.h b/gpsmon.h
index 5751e726..570264b4 100644
--- a/gpsmon.h
+++ b/gpsmon.h
@@ -6,10 +6,11 @@
struct mdevice_t {
/* a device-specific capability table for the monitor */
+ bool (*initialize)(void); /* paint legends on windows */
void (*analyze)(unsigned char [], size_t);
- bool (*windows)(void); /* paint legends on wibndows */
void (*repaint)(bool); /* now paint the data */
int (*command)(char[]); /* interpret device-specfic commands */
+ void (*wrap)(void); /* deallocate storage */
int min_y, min_x; /* space required for device info */
const struct gps_type_t *driver; /* device driver table */
};