diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-21 22:02:16 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-21 22:02:16 (GMT) |
commit | 13e4bcd50e324d5228ce920d1fc84aa3ba8d6e5e (patch) | |
tree | c837071ee025839a11596633b7e511a607994048 /src/PlatformUtils.cc | |
parent | e2772c70b862e3669c3a279f2540d746438ec38d (diff) |
Added meny entry for disclosing the library path. Part of #125
Diffstat (limited to 'src/PlatformUtils.cc')
-rw-r--r-- | src/PlatformUtils.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/PlatformUtils.cc b/src/PlatformUtils.cc new file mode 100644 index 0000000..cea449b --- /dev/null +++ b/src/PlatformUtils.cc @@ -0,0 +1,7 @@ +#include "PlatformUtils.h" +#include "boosty.h" + +std::string PlatformUtils::libraryPath() +{ + return boosty::stringy(fs::path(PlatformUtils::documentsPath()) / "OpenSCAD" / "libraries"); +} |