diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-11-24 16:51:21 +0300 |
---|---|---|
committer | Ilya Zverev <ilya@zverev.info> | 2017-11-27 18:03:53 +0300 |
commit | 76cbee1c328cc10a1719bbac9fd2b6114f84bcae (patch) | |
tree | 44ae081086b59bf96fc6fba58b3c78584d67c2fc /indexer/editable_map_object.hpp | |
parent | 54eeceaa2e1b476a1c8c79d289112404db4a27bc (diff) |
[editor] validate name method is added
Diffstat (limited to 'indexer/editable_map_object.hpp')
-rw-r--r-- | indexer/editable_map_object.hpp | 1 |
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); |