blob: c257c0de65ce947782fee42f57de5b1b24891c5d (
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 "search/hotels_filter.hpp"
#include <functional>
#include <memory>
#include <string>
namespace search
{
class Results;
struct ViewportSearchParams
{
using OnStarted = std::function<void()>;
using OnCompleted = std::function<void(Results const & results)>;
std::string m_query;
std::string m_inputLocale;
std::shared_ptr<hotels_filter::Rule> m_hotelsFilter;
booking::filter::Tasks m_bookingFilterTasks;
OnStarted m_onStarted;
OnCompleted m_onCompleted;
};
} // namespace search
|