removing completed todo markers
This commit is contained in:
parent
fd7b22f639
commit
0f258f94a8
@ -25,7 +25,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
#include "../Util/StringUtil.h"
|
#include "../Util/StringUtil.h"
|
||||||
|
|
||||||
//locates the nearest node in the road network for a given coordinate.
|
//locates the nearest node in the road network for a given coordinate.
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class LocatePlugin : public BasePlugin {
|
class LocatePlugin : public BasePlugin {
|
||||||
@ -63,7 +62,12 @@ public:
|
|||||||
reply.status = http::Reply::ok;
|
reply.status = http::Reply::ok;
|
||||||
reply.content += ("{");
|
reply.content += ("{");
|
||||||
reply.content += ("\"version\":0.3,");
|
reply.content += ("\"version\":0.3,");
|
||||||
if(!facade->LocateClosestEndPointForCoordinate(routeParameters.coordinates[0], result)) {
|
if(
|
||||||
|
!facade->LocateClosestEndPointForCoordinate(
|
||||||
|
routeParameters.coordinates[0],
|
||||||
|
result
|
||||||
|
)
|
||||||
|
) {
|
||||||
reply.content += ("\"status\":207,");
|
reply.content += ("\"status\":207,");
|
||||||
reply.content += ("\"mapped_coordinate\":[]");
|
reply.content += ("\"mapped_coordinate\":[]");
|
||||||
} else {
|
} else {
|
||||||
|
@ -22,7 +22,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
#define TIMESTAMPPLUGIN_H_
|
#define TIMESTAMPPLUGIN_H_
|
||||||
|
|
||||||
#include "BasePlugin.h"
|
#include "BasePlugin.h"
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class TimestampPlugin : public BasePlugin {
|
class TimestampPlugin : public BasePlugin {
|
||||||
|
@ -39,7 +39,6 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
//TODO: Rework data access to go through facade
|
|
||||||
template<class DataFacadeT>
|
template<class DataFacadeT>
|
||||||
class ViaRoutePlugin : public BasePlugin {
|
class ViaRoutePlugin : public BasePlugin {
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user