forked from organicmaps/organicmaps
[promo] unused method is removed
This commit is contained in:
parent
2d3aedcbfe
commit
b6095dac4f
2 changed files with 0 additions and 16 deletions
|
@ -224,15 +224,6 @@ std::string LoadPromoIdForBooking(eye::Eye::InfoType const & eyeInfo)
|
|||
}
|
||||
} // namespace
|
||||
|
||||
// static
|
||||
bool WebApi::GetCityGalleryById(std::string const & baseUrl, std::string const & id,
|
||||
std::string const & lang, std::string & result)
|
||||
{
|
||||
platform::HttpClient request(MakeCityGalleryUrl(baseUrl, id, lang));
|
||||
request.SetRawHeaders(web_api::GetDefaultCatalogHeaders());
|
||||
return request.RunHttpRequest(result);
|
||||
}
|
||||
|
||||
Api::Api(std::string const & baseUrl /* = BOOKMARKS_CATALOG_FRONT_URL */,
|
||||
std::string const & basePicturesUrl /* = PICTURES_URL */)
|
||||
: m_baseUrl(baseUrl)
|
||||
|
|
|
@ -72,13 +72,6 @@ struct AfterBooking
|
|||
std::string m_pictureUrl;
|
||||
};
|
||||
|
||||
class WebApi
|
||||
{
|
||||
public:
|
||||
static bool GetCityGalleryById(std::string const & baseUrl, std::string const & id,
|
||||
std::string const & lang, std::string & result);
|
||||
};
|
||||
|
||||
using CityGalleryCallback = platform::SafeCallback<void(CityGallery const & gallery)>;
|
||||
using OnError = platform::SafeCallback<void()>;
|
||||
using Tags = std::vector<std::string>;
|
||||
|
|
Loading…
Add table
Reference in a new issue