FeatureType::GetNames() for editor.

This commit is contained in:
Alex Zolotarev 2016-01-15 18:56:55 +03:00 committed by Sergey Yershov
parent 577155473f
commit e5124f89d6
2 changed files with 6 additions and 0 deletions

View file

@ -266,6 +266,11 @@ void FeatureType::ParseMetadata() const
m_bMetadataParsed = true;
}
StringUtf8Multilang FeatureType::GetNames() const
{
return m_params.name;
}
void FeatureType::SetNames(StringUtf8Multilang const & newNames)
{
m_params.name.Clear();

View file

@ -167,6 +167,7 @@ public:
/// @name Editor functions.
//@{
StringUtf8Multilang GetNames() const;
void SetNames(StringUtf8Multilang const & newNames);
void SetMetadata(feature::Metadata const & newMetadata);
//@}