[ gpsdrive ] Clear Track Button
Guenther Meyer
d.s.e at sordidmusic.com
Fri Sep 19 23:47:37 AKDT 2008
Am Samstag 20 September 2008 schrieb Ross Scanlon:
> On Sat, 20 Sep 2008 08:58:24 +0200
>
> Guenther Meyer <d.s.e at sordidmusic.com> wrote:
> > Am Samstag 20 September 2008 schrieb Ross Scanlon:
> > > Hi All,
> > >
> > > Just been looking at the latest svn download and noticed that there is
> > > now a Clear button.
> >
> > yes, this one is new.
> >
> > > What does this do exactly?
> >
> > it deletes/resets the recorded track and trip data.
> > the data is NOT saved.
>
> Thanks. Will have to have a look as I want to be able to save and restart
> the code.
>
the file saving could also be included into the callback (see below).
but I don't know if this is a good idea to do this automatically.
maybe better with a separate button, or configurable in the settings...
> Will have to have a look at this then as I want the current track log saved
> as well as the tracksaved.gpx is overwritten the next time gpsdrive is
> started and it starts automatically on my system.
the "old" function 'savetrackfile' is still in the code (track.c)
you could take the filename creation from there and call 'gpx_file_write'
(gpx.c) with the created name...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080920/a16e2b40/attachment.bin>
More information about the GPSdrive
mailing list