mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-18 21:04:24 +02:00
Added support for waypoint addresses
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#include "common/coordinates.h"
|
||||
#include "imageinfo.h"
|
||||
#include "link.h"
|
||||
#include "address.h"
|
||||
|
||||
class Waypoint
|
||||
{
|
||||
@ -19,6 +20,7 @@ public:
|
||||
const Coordinates &coordinates() const {return _coordinates;}
|
||||
const QString &name() const {return _name;}
|
||||
const QString &description() const {return _description;}
|
||||
const Address &address() const {return _address;}
|
||||
const ImageInfo &image() const {return _image;}
|
||||
const QVector<Link> &links() const {return _links;}
|
||||
const QDateTime ×tamp() const {return _timestamp;}
|
||||
@ -29,6 +31,7 @@ public:
|
||||
void setName(const QString &name) {_name = name;}
|
||||
void setDescription(const QString &description)
|
||||
{_description = description;}
|
||||
void setAddress(const Address &address) {_address = address;}
|
||||
void setTimestamp(const QDateTime ×tamp) {_timestamp = timestamp;}
|
||||
void setElevation(qreal elevation) {_elevation = elevation;}
|
||||
void setImage(const ImageInfo &image) {_image = image;}
|
||||
@ -44,6 +47,7 @@ private:
|
||||
Coordinates _coordinates;
|
||||
QString _name;
|
||||
QString _description;
|
||||
Address _address;
|
||||
ImageInfo _image;
|
||||
QVector<Link> _links;
|
||||
QDateTime _timestamp;
|
||||
|
Reference in New Issue
Block a user