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;
}
|