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:
Diffstat (limited to 'platform/platform.cpp')
-rw-r--r--platform/platform.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/platform.cpp b/platform/platform.cpp
index 1cef3c44bd..d4410a7dba 100644
--- a/platform/platform.cpp
+++ b/platform/platform.cpp
@@ -2,6 +2,7 @@
#include "settings.hpp"
#include "../coding/internal/file_data.hpp"
+#include "../coding/file_reader.hpp"
#include "../base/logging.hpp"
@@ -26,6 +27,11 @@ string BasePlatformImpl::ReadPathForFile(string const & file) const
return fullPath;
}
+ModelReader * BasePlatformImpl::GetReader(string const & file) const
+{
+ return new FileReader(ReadPathForFile(file), 10, 12);
+}
+
bool BasePlatformImpl::GetFileSize(string const & file, uint64_t & size) const
{
return my::GetFileSize(file, size);