summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/platform.hpp')
-rw-r--r--include/mbgl/platform/platform.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/mbgl/platform/platform.hpp b/include/mbgl/platform/platform.hpp
index b4aaccb8bd..ea630c0956 100644
--- a/include/mbgl/platform/platform.hpp
+++ b/include/mbgl/platform/platform.hpp
@@ -17,10 +17,11 @@ std::string uppercase(const std::string &string);
// Lowercase a string, potentially using platform-specific routines.
std::string lowercase(const std::string &string);
-// Returns the path to the default cache database on this system.
-std::string defaultCacheDatabase();
+// Returns the path to the root folder of the application.
+const std::string &applicationRoot();
-std::string applicationRoot();
+// Returns the path to the asset location.
+const std::string &assetRoot();
// Shows an alpha image with the specified dimensions in a named window.
void show_debug_image(std::string name, const char *data, size_t width, size_t height);