blob: 7f30d0599933bc1bfd9e74d049ecc843c8092f6c (
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
|
#pragma once
#include "search/hotels_filter.hpp"
#include "search/result.hpp"
#include <functional>
#include <memory>
#include <string>
#include <vector>
namespace search
{
struct EverywhereSearchParams
{
using OnResults =
std::function<void(Results const & results, std::vector<bool> const & isLocalAdsCustomer)>;
std::string m_query;
std::string m_inputLocale;
std::shared_ptr<hotels_filter::Rule> m_hotelsFilter;
OnResults m_onResults;
};
} // namespace search
|