Add temporary cache dir. Need to change to Java call.

This commit is contained in:
Leith Bade
2014-11-05 20:18:01 +11:00
parent da49d0adb7
commit ecda8fb509

View File

@@ -0,0 +1,13 @@
#include <mbgl/platform/platform.hpp>
namespace mbgl {
namespace platform {
// Returns the path to the default cache database on this system.
std::string defaultCacheDatabase() {
// TODO need to use get cache dir from java
return "/data/data/com.mapbox.mapboxgl.app/mbgl-cache.db";
}
}
}