Moved IsAutoRetryDownloadFailed method to public.

This commit is contained in:
Ilya Grechuhin 2016-04-25 12:36:42 +03:00
parent de7d563336
commit 615eeacb85

View file

@ -242,8 +242,6 @@ private:
size_t m_autoRetryCounter = kAutoRetryCounterMax;
my::DeferredTask m_autoRetryWorker;
inline bool IsAutoRetryDownloadFailed() const { return m_autoRetryCounter == 0; }
void DownloadNextCountryFromQueue();
void LoadCountriesFile(string const & pathToCountriesFile, string const & dataDir,
@ -319,6 +317,8 @@ public:
TOnStatusChangedCallback m_onStatusChanged;
};
inline bool IsAutoRetryDownloadFailed() const { return m_autoRetryCounter == 0; }
/// \brief Returns root country id of the country tree.
TCountryId const GetRootId() const;