| 39 | #include <string> |
| 40 | |
| 41 | static boost::filesystem::path get_documents_path() { |
| 42 | PWSTR rawPath; |
| 43 | if (FAILED(SHGetKnownFolderPath(FOLDERID_Documents, KF_FLAG_CREATE, nullptr, &rawPath))) |
| 44 | return boost::filesystem::path(); |
| 45 | boost::filesystem::path path(rawPath); |
| 46 | CoTaskMemFree(rawPath); |
| 47 | return path; |
| 48 | } |
| 49 | |
| 50 | constexpr const char *default_paths[] = { |
| 51 | ".", |