Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2016-03-31 18:03:27 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-04-01 14:00:37 +0300
commitc7faa88cc932576c4925ad91484b5ff3f826711c (patch)
tree023b9ebf51214a13e52352e68fbf8e265ee16ddc /storage/storage_helpers.hpp
parentf84f2ebed2833f70c0a48df07dd848fad0c27747 (diff)
[omim] Added storage IsEnoughSpaceForDownload helper function.
Diffstat (limited to 'storage/storage_helpers.hpp')
-rw-r--r--storage/storage_helpers.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/storage_helpers.hpp b/storage/storage_helpers.hpp
index a1c886ec70..c2db12d787 100644
--- a/storage/storage_helpers.hpp
+++ b/storage/storage_helpers.hpp
@@ -20,6 +20,8 @@ bool IsPointCoveredByDownloadedMaps(m2::PointD const & position,
bool IsDownloadFailed(Status status);
+bool IsEnoughSpaceForDownload(TCountryId const & countryId, Storage const & storage);
+
/// \brief Calculates limit rect for |countryId| (expandable or not).
/// \returns bounding box in mercator coordinates.
m2::RectD CalcLimitRect(TCountryId const & countryId,