]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikwaypoint.h
Add support for acquiring OpenStreetMap Notes as GPX files.
[andy/viking.git] / src / vikwaypoint.h
index ecd2b36e5f87c6afec9901e3c1e35f9bd174ce34..5fd8da999c7a655efdf3f7d7e426eb327f94ed0f 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "vikcoord.h"
 
+#include <gdk-pixbuf/gdk-pixdata.h>
+
 G_BEGIN_DECLS
 /* todo important: put these in their own header file, maybe.probably also rename */
 
@@ -34,6 +36,8 @@ typedef struct _VikWaypoint VikWaypoint;
 struct _VikWaypoint {
   VikCoord coord;
   gboolean visible;
+  gboolean has_timestamp;
+  time_t timestamp;
   gdouble altitude;
   gchar *name;
   gchar *comment;
@@ -45,6 +49,8 @@ struct _VikWaypoint {
   guint8 image_width;
   guint8 image_height;
   gchar *symbol;
+  // Only for GUI display
+  GdkPixbuf *symbol_pixbuf;
 };
 
 VikWaypoint *vik_waypoint_new();