]> git.street.me.uk Git - andy/viking.git/commit - src/viktrwlayer.c
Make the waypoint name a property of the waypoint.
authorRob Norris <rw_norris@hotmail.com>
Mon, 16 Apr 2012 17:31:51 +0000 (18:31 +0100)
committerRob Norris <rw_norris@hotmail.com>
Tue, 10 Jul 2012 22:56:12 +0000 (23:56 +0100)
commitc9570f8616c6eec62695f29757cd6913efadebdd
tree1f1570c7b49927fd68ff75fdeff62fe895123594
parentbbbd639fa96f11a6b8b46416845e6b0ae0881c31
Make the waypoint name a property of the waypoint.

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

ATM maintain usage of a hash table for the list of waypoints, but instead of using the (forced unique) name for the hash,
use a simple integer as a kind of UUID.
12 files changed:
configure.ac
src/clipboard.c
src/dialog.c
src/dialog.h
src/gpspoint.c
src/gpx.c
src/viktreeview.c
src/viktreeview.h
src/viktrwlayer.c
src/viktrwlayer.h
src/vikwaypoint.c
src/vikwaypoint.h