Made Editor::Save() private.

This commit is contained in:
Alex Zolotarev 2015-12-22 22:08:29 +03:00 committed by Sergey Yershov
parent f9d8af3def
commit 295315f2b7

View file

@ -40,8 +40,6 @@ public:
void SetInvalidateFn(TInvalidateFn && fn) { m_invalidateFn = move(fn); }
void Load(string const & fullFilePath);
// 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 &)>;
@ -70,6 +68,9 @@ public:
vector<feature::Metadata::EType> EditableMetadataForType(uint32_t type) const;
private:
// TODO(AlexZ): Synchronize Save call/make it on a separate thread.
void Save(string const & fullFilePath) const;
struct FeatureTypeInfo
{
FeatureStatus m_status;