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:
authorSergey Yershov <yershov@corp.mail.ru>2014-12-11 21:37:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:24 +0300
commitb79ade75a8885d627646c474bbc5f04c268de5ef (patch)
tree3ecde383c0958389e1078b0bde7ba66510ebb237 /platform/platform.hpp
parentf6576ce2aa557fb53fffd3ebdeaee0af29af6e41 (diff)
Add generator_tool options for work with file instead stdin
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r--platform/platform.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp
index 5ba411f4f9..7cda2677c8 100644
--- a/platform/platform.hpp
+++ b/platform/platform.hpp
@@ -21,6 +21,9 @@ class Platform
protected:
/// Usually read-only directory for application resources
string m_resourcesDir;
+ /// Optional resource search path
+ string m_optionalDir;
+
/// Writable directory to store downloaded map data
/// @note on some systems it can point to external ejectable storage
string m_writableDir;
@@ -62,6 +65,8 @@ public:
static bool IsFileExistsByFullPath(string const & filePath);
+ /// @return void
+ void AddOptionalPath(string const &path) {m_optionalDir = path;}
/// @return always the same writable dir for current user with slash at the end
string WritableDir() const { return m_writableDir; }
/// @return full path to file in user's writable directory