X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmisc%2Fsg_path.hxx;h=0684d5701927b5f7b0bb320218a1b6dd06280ec3;hb=e4e31be7d43569a92a5d9fa7e784381b66cbd95a;hp=69dd59442441577b9e3eec73b843ae1febd7fd8c;hpb=289e768ca527ac9e859ed06501847acf45291243;p=simgear.git diff --git a/simgear/misc/sg_path.hxx b/simgear/misc/sg_path.hxx index 69dd5944..0684d570 100644 --- a/simgear/misc/sg_path.hxx +++ b/simgear/misc/sg_path.hxx @@ -141,6 +141,11 @@ public: */ const char* c_str() const { return path.c_str(); } + /** + * Get the path string in OS native form + */ + std::string str_native() const; + /** * Determine if file exists by attempting to fopen it. * @return true if file exists, otherwise returns false.