blob: f0bf43d217ab1ec7c61c92a589d230811000bdd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "map/booking_filter_params.hpp"
#include "map/search_product_info.hpp"
#include "search/hotels_filter.hpp"
#include "search/result.hpp"
#include <functional>
#include <memory>
#include <string>
#include <vector>
namespace search
{
struct EverywhereSearchParams
{
std::string m_query;
std::string m_inputLocale;
std::shared_ptr<hotels_filter::Rule> m_hotelsFilter;
booking::filter::Tasks m_bookingFilterTasks;
using OnResults =
std::function<void(Results const & results, std::vector<ProductInfo> const & productInfo)>;
OnResults m_onResults;
};
} // namespace search
|