#pragma once #include "partners_api/taxi_engine.hpp" #include "storage/storage_defines.hpp" namespace storage { class Storage; class CountryInfoGetter; } namespace search { class CityFinder; } class TaxiDelegate : public taxi::Delegate { public: TaxiDelegate(storage::Storage const & st, storage::CountryInfoGetter const & ig, search::CityFinder & cf); storage::CountriesVec GetCountryIds(m2::PointD const & point) override; std::string GetCityName(m2::PointD const & point) override; storage::CountryId GetMwmId(m2::PointD const & point) override; private: storage::Storage const & m_storage; storage::CountryInfoGetter const & m_infoGetter; search::CityFinder & m_cityFinder; };