Welcome to mirror list, hosted at ThFree Co, Russian Federation.

viewport_search_params.hpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5067ef5eb49d854a7094e1c86b2eff01d2f21ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "std/function.hpp"
#include "std/string.hpp"

namespace search
{
struct ViewportSearchParams
{
  using TOnStarted = function<void()>;
  using TOnCompleted = function<void()>;

  string m_query;
  string m_inputLocale;

  TOnStarted m_onStarted;
  TOnCompleted m_onCompleted;
};
}  // namespace search