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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2017-11-24 16:51:21 +0300
committerIlya Zverev <ilya@zverev.info>2017-11-27 18:03:53 +0300
commit76cbee1c328cc10a1719bbac9fd2b6114f84bcae (patch)
tree44ae081086b59bf96fc6fba58b3c78584d67c2fc /indexer/editable_map_object.hpp
parent54eeceaa2e1b476a1c8c79d289112404db4a27bc (diff)
[editor] validate name method is added
Diffstat (limited to 'indexer/editable_map_object.hpp')
-rw-r--r--indexer/editable_map_object.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/editable_map_object.hpp b/indexer/editable_map_object.hpp
index 9e58442c83..981316da07 100644
--- a/indexer/editable_map_object.hpp
+++ b/indexer/editable_map_object.hpp
@@ -165,6 +165,7 @@ public:
static bool ValidateWebsite(string const & site);
static bool ValidateEmail(string const & email);
static bool ValidateLevel(string const & level);
+ static bool ValidateName(string const & name);
/// Check whether langCode can be used as default name.
static bool CanUseAsDefaultName(int8_t const langCode, vector<int8_t> const & nativeMwmLanguages);