summaryrefslogtreecommitdiff
path: root/src/PlatformUtils.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-05-21 22:02:16 (GMT)
committerMarius Kintel <marius@kintel.net>2013-05-21 22:02:16 (GMT)
commit13e4bcd50e324d5228ce920d1fc84aa3ba8d6e5e (patch)
treec837071ee025839a11596633b7e511a607994048 /src/PlatformUtils.cc
parente2772c70b862e3669c3a279f2540d746438ec38d (diff)
Added meny entry for disclosing the library path. Part of #125
Diffstat (limited to 'src/PlatformUtils.cc')
-rw-r--r--src/PlatformUtils.cc7
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");
+}
contact: Jan Huwald // Impressum