Files
MapLibreParticleLab/platform/default/application_root.cpp
2014-12-17 15:01:15 +01:00

16 lines
252 B
C++

#include <mbgl/platform/platform.hpp>
#include <mbgl/util/uv.hpp>
namespace mbgl {
namespace platform {
// Returns the path the application root.
std::string applicationRoot() {
static const std::string root = uv::cwd();
return root;
}
}
}