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

mode.cpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 96de4dc280f7b6051071f4bd65c6c7060868d70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "search/mode.hpp"

namespace search
{
std::string DebugPrint(Mode mode)
{
  switch (mode)
  {
  case Mode::Everywhere: return "Everywhere";
  case Mode::Viewport: return "Viewport";
  case Mode::Downloader: return "Downloader";
  case Mode::Bookmarks: return "Bookmarks";
  case Mode::Count: return "Count";
  }
  return "Unknown";
}
}  // namespace search