]> git.street.me.uk Git - andy/viking.git/commit - src/viktrack.c
Make the track name a property of the track.
authorRob Norris <rw_norris@hotmail.com>
Wed, 9 May 2012 16:25:14 +0000 (17:25 +0100)
committerRob Norris <rw_norris@hotmail.com>
Tue, 10 Jul 2012 22:56:15 +0000 (23:56 +0100)
commitce4bd1cfaab763dad3aab9b20edce22eb57aac0f
tree4ff3663a782428175cef62fd41c3e6318df8c58e
parentc9570f8616c6eec62695f29757cd6913efadebdd
Make the track name a property of the track.

This is important step in being able to support undo operations.
This also gives the ability to have multiple same named tracks.

ATM maintain usage of a hash table for the list of tracks, but instead of using the (forced unique) name for the hash,
use a simple integer as a kind of UUID.
16 files changed:
src/acquire.c
src/acquire.h
src/file.c
src/file.h
src/gpspoint.c
src/gpx.c
src/gpx.h
src/osm-traces.c
src/osm-traces.h
src/vikgpslayer.c
src/viktrack.c
src/viktrack.h
src/viktrwlayer.c
src/viktrwlayer.h
src/viktrwlayer_propwin.c
src/viktrwlayer_propwin.h