osrm-backend/include/server/service/match_service.hpp
2016-04-05 22:58:32 +02:00

34 lines
594 B
C++

#ifndef SERVER_SERVICE_MATCH_SERVICE_HPP
#define SERVER_SERVICE_MATCH_SERVICE_HPP
#include "server/service/base_service.hpp"
#include "engine/status.hpp"
#include "util/coordinate.hpp"
#include "osrm/osrm.hpp"
#include <string>
#include <vector>
namespace osrm
{
namespace server
{
namespace service
{
class MatchService final : public BaseService
{
public:
MatchService(OSRM &routing_machine) : BaseService(routing_machine) {}
engine::Status RunQuery(std::string &query, ResultT &result) final override;
unsigned GetVersion() final override { return 1; }
};
}
}
}
#endif