osrm-backend/include/server/service/tile_service.hpp
Dennis Luxen a4aa153ba4 Use nested namespace
It's a mechanical change to modernize the code base
2022-12-11 10:17:17 +01:00

30 lines
684 B
C++

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