blob: 2b34ca8dd0c123f34b8fd63111d88939831620da (
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
|
#pragma once
#include "search/hotels_filter.hpp"
#include "std/function.hpp"
#include "std/shared_ptr.hpp"
#include "std/string.hpp"
namespace search
{
class Results;
struct ViewportSearchParams
{
using TOnStarted = function<void()>;
using TOnCompleted = function<void(Results const & results)>;
string m_query;
string m_inputLocale;
shared_ptr<hotels_filter::Rule> m_hotelsFilter;
TOnStarted m_onStarted;
TOnCompleted m_onCompleted;
};
} // namespace search
|