diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2018-01-03 17:21:59 +0100 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2018-01-03 17:21:59 +0100 |
commit | 03a340b57c464301689f39e7d11e7833a9c4d87d (patch) | |
tree | 83bca506d4bf820fb4ec8f866f95c1b660cb0dae /test/poi-service/poi-common/poi-common-types.h | |
parent | a3a65e6d544d0af6ee4e1dbbc5414d38fb04be15 (diff) | |
download | poi-service-03a340b57c464301689f39e7d11e7833a9c4d87d.tar.gz |
POI ID format updated to uint64 to be compliant with OSM ID
Diffstat (limited to 'test/poi-service/poi-common/poi-common-types.h')
-rw-r--r-- | test/poi-service/poi-common/poi-common-types.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/poi-service/poi-common/poi-common-types.h b/test/poi-service/poi-common/poi-common-types.h index 65523a8..216a53f 100644 --- a/test/poi-service/poi-common/poi-common-types.h +++ b/test/poi-service/poi-common/poi-common-types.h @@ -24,7 +24,7 @@ #include <QtCore/QString> #include <QDBusArgument> -typedef uint poiId_t; +typedef qulonglong poiId_t; typedef uint categoryId_t; typedef uint resourceId_t; typedef uint attributeId_t; @@ -118,22 +118,22 @@ struct poiAttributeFull_t //(uui(yv)ib) bool mandatory; //true if the attribute is mandatory for the search and false for optional }; -struct resultSearch_t //(uuia(ui(yv))) +struct resultSearch_t //(tuia(ui(yv))) { - uint id; + poiId_t id; uint distance; int route_status; QList<poiAttribute_t> attributes; }; -struct detailsPOISearch_t //(us(ddd)) +struct detailsPOISearch_t //(ts(ddd)) { poiId_t id; QString name; //need to be a QString for UTF8 geoCoordinate3D_t location; }; -struct resultSearchDetails_t //((us(ddd))aua(ui(yv))) +struct resultSearchDetails_t //((ts(ddd))aua(ui(yv))) { detailsPOISearch_t details; QList<categoryId_t> categories; @@ -186,7 +186,7 @@ typedef QMap<qulonglong,QDBusVariant> tupleUlongVariant; typedef QMap<ushort,ushort> tupleUshortUshort; -struct resultCamSearch_t //(usu(ddd)qa(ui(yv))) +struct resultCamSearch_t //(tsu(ddd)qa(ui(yv))) { poiId_t source_id; std::string name; @@ -196,7 +196,7 @@ struct resultCamSearch_t //(usu(ddd)qa(ui(yv))) QList<poiAttribute_t> attributes; }; -struct resultCamSearchDetails_t //((us(ddd))aua(ui(yv))) +struct resultCamSearchDetails_t //((ts(ddd))aua(ui(yv))) { detailsPOISearch_t details; QList<categoryId_t> categories; |