diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-02-16 19:04:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-02-16 19:04:22 +0000 |
commit | cde3d327ee2b5bd34f01f58433090f9312cf655d (patch) | |
tree | acc090db8cd11b3dc2d47045d634a97c4ba021b5 /gpsmon.h | |
parent | be60413197a4448621c645a75370f82005c20e80 (diff) | |
download | gpsd-cde3d327ee2b5bd34f01f58433090f9312cf655d.tar.gz |
Introduce wrap method to deallocate windows.
Diffstat (limited to 'gpsmon.h')
-rw-r--r-- | gpsmon.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ }; |