expose getPlaceName() as placename

Nice for scripts to get the placename.  Nice for us, anyways.
This commit is contained in:
David Kelly 2016-08-10 14:54:29 -07:00
parent f8f99721c3
commit 5c15b52040

View file

@ -38,6 +38,7 @@ class AddressManager : public QObject, public Dependency {
Q_PROPERTY(QString protocol READ getProtocol)
Q_PROPERTY(QString hostname READ getHost)
Q_PROPERTY(QString pathname READ currentPath)
Q_PROPERTY(QString placename READ getPlaceName)
public:
Q_INVOKABLE QString protocolVersion();
using PositionGetter = std::function<glm::vec3()>;