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

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

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

namespace languages
{

/// @note This functions are heavy enough to call them often. Be careful.
//@{
/// @return system language preferences in the form "en|ru|es|zh"
string PreferredLanguages();
/// @return language code for current user in the form "en"
string CurrentLanguage();
//@}

}