git repos / PlatformFolders

commit 10212c89

sago007 · 2016-02-16 17:17
10212c89e1d300f3440105d31ca1b7ab98e5178e patch · browse files
parent 4c7935950a1dfa0400dfd44e3f979c116d700a93
parent 463ec4501ef85a6a83cf5db96d8f7f18f8789b5b

Merge branch 'master' of github.com:sago007/PlatformFolders

Changed files

M README.md before
diff --git a/README.md b/README.md index c92e8e4..be7e0f5 100644 --- a/README.md +++ b/README.md
@@ -9,6 +9,14 @@ There are a lot of platform abstraction libraries available. You can get graphic
But folder abstraction seems to be more difficult.
My problem was that the code that found the place to save data was platform dependent. This cluttered my code and often I would not discover that it did not compile until moving it to the different platforms.
+I have written a bit more about it here: http://sago007.blogspot.dk/2015/10/abstraction-for-special-folders.html
+
+There are some alternatives that you might consider instead:
+ * QStandardPaths - http://doc.qt.io/qt-5/qstandardpaths.html
+ * glib - https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html
+
+Both are properly more mature than this library. However they are both parts of large frameworks and using them with libraries outside the framework may not be that simple.
+
# Windows support
For Windows the folders are fetched using SHGetFolderPath.
The amount of supported folders differ from Windows version and this library targets XP and newer... and I'll drop XP support very soon.