forked from organicmaps/organicmaps-tmp
FeatureType::GetNames() for editor.
This commit is contained in:
parent
577155473f
commit
e5124f89d6
2 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -167,6 +167,7 @@ public:
|
|||
|
||||
/// @name Editor functions.
|
||||
//@{
|
||||
StringUtf8Multilang GetNames() const;
|
||||
void SetNames(StringUtf8Multilang const & newNames);
|
||||
void SetMetadata(feature::Metadata const & newMetadata);
|
||||
//@}
|
||||
|
|
Loading…
Add table
Reference in a new issue