diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2017-07-10 13:04:17 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-07-17 14:16:33 +0300 |
commit | 191d3d497aff074c3545d929a5858e063950031c (patch) | |
tree | e52c937a3f699061a8bac43bf72812ea6a184178 /platform/platform.hpp | |
parent | 4cddde8283ce8c8e55e653579b9ec6e5e611dcf1 (diff) |
Added matcher for ugc objects.
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r-- | platform/platform.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index 28b8291808..25c31816cf 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -85,10 +85,6 @@ protected: /// Used in Android only to get corret GUI elements layout. bool m_isTablet; - /// Internal function to get full path for input file. - /// Uses m_writeableDir [w], m_resourcesDir [r], m_settingsDir [s]. - string ReadPathForFile(string const & file, string searchScope = string()) const; - /// Returns last system call error as EError. static EError ErrnoToError(); @@ -108,6 +104,8 @@ public: void SetWritableDirForTests(string const & path); /// @return full path to file in user's writable directory string WritablePathForFile(string const & file) const { return WritableDir() + file; } + /// Uses m_writeableDir [w], m_resourcesDir [r], m_settingsDir [s]. + string ReadPathForFile(string const & file, string searchScope = string()) const; /// @return resource dir (on some platforms it's differ from Writable dir) string ResourcesDir() const { return m_resourcesDir; } |