forked from organicmaps/organicmaps
Typedef for convenience.
This commit is contained in:
parent
832bc08ab4
commit
7b334ef200
2 changed files with 6 additions and 4 deletions
|
@ -119,7 +119,7 @@ void Editor::EditFeature(FeatureType & editedFeature)
|
|||
}
|
||||
|
||||
void Editor::ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
|
||||
function<void(FeatureID const &)> const & f,
|
||||
TFeatureIDFunctor const & f,
|
||||
m2::RectD const & rect,
|
||||
uint32_t /*scale*/)
|
||||
{
|
||||
|
@ -138,7 +138,7 @@ void Editor::ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
|
|||
}
|
||||
|
||||
void Editor::ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
|
||||
function<void(FeatureType &)> const & f,
|
||||
TFeatureTypeFunctor const & f,
|
||||
m2::RectD const & rect,
|
||||
uint32_t /*scale*/)
|
||||
{
|
||||
|
|
|
@ -41,12 +41,14 @@ public:
|
|||
// TODO(AlexZ): Synchronize Save call/make it on a separate thread.
|
||||
void Save(string const & fullFilePath) const;
|
||||
|
||||
using TFeatureIDFunctor = function<void(FeatureID const &)>;
|
||||
using TFeatureTypeFunctor = function<void(FeatureType &)>;
|
||||
void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
|
||||
function<void(FeatureID const &)> const & f,
|
||||
TFeatureIDFunctor const & f,
|
||||
m2::RectD const & rect,
|
||||
uint32_t scale);
|
||||
void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id,
|
||||
function<void(FeatureType &)> const & f,
|
||||
TFeatureTypeFunctor const & f,
|
||||
m2::RectD const & rect,
|
||||
uint32_t scale);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue