diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-21 22:19:29 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-21 22:19:29 (GMT) |
commit | 41d1c94879f22f569082d4adf44427df2e7ed23b (patch) | |
tree | 47bdd176d441c4f68e84e49e87838505fd4ed3d7 /src/PlatformUtils-posix.cc | |
parent | 13e4bcd50e324d5228ce920d1fc84aa3ba8d6e5e (diff) |
Starting point for Unix implementation of built-in library path. Part of #125
Diffstat (limited to 'src/PlatformUtils-posix.cc')
-rw-r--r-- | src/PlatformUtils-posix.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/PlatformUtils-posix.cc b/src/PlatformUtils-posix.cc index 7ed6735..e581de6 100644 --- a/src/PlatformUtils-posix.cc +++ b/src/PlatformUtils-posix.cc @@ -1,7 +1,10 @@ #include "PlatformUtils.h" +#include "boosty.h" std::string PlatformUtils::documentsPath() { - // FIXME: Implement - return ""; + fs::path docpath(getenv("HOME")); + docpath /= ".local" / "share"; + + return boosty::stringy(docpath); } |