From c30ae8eab34ab5de5e7684400f5e9032fa8f3736 Mon Sep 17 00:00:00 2001 From: Lev Dragunov Date: Thu, 5 Mar 2015 19:14:29 +0300 Subject: different file index pathes --- platform/platform_win.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/platform_win.cpp') diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp index 271a5f1a07..ddddc4ebfa 100644 --- a/platform/platform_win.cpp +++ b/platform/platform_win.cpp @@ -4,6 +4,7 @@ #include "../base/logging.hpp" #include "../coding/file_writer.hpp" +#include "../coding/file_name_utils.hpp" #include "../std/windows.hpp" #include "../std/bind.hpp" @@ -86,6 +87,12 @@ Platform::Platform() LOG(LDEBUG, ("Settings Directory:", m_settingsDir)); } +string Platform::WritablePathForFileIndexes(string const & country_name) const +{ + string dir = WritableDir() + country_name + my::GetNativeSeparator(); + return dir; +} + bool Platform::IsFileExistsByFullPath(string const & filePath) { return ::GetFileAttributesA(filePath.c_str()) != INVALID_FILE_ATTRIBUTES; -- cgit v1.2.3