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

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

#include "platform/platform.hpp"

#include "defines.hpp"

CategoriesHolder const & GetDefaultCategories()
{
  static CategoriesHolder const instance(GetPlatform().GetReader(SEARCH_CATEGORIES_FILE_NAME));
  return instance;
}

CategoriesHolder const & GetDefaultCuisineCategories()
{
  static CategoriesHolder const instance(GetPlatform().GetReader(SEARCH_CUISINE_CATEGORIES_FILE_NAME));
  return instance;
}