You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ A C++ library to look for directories like `My Documents`, `~/.config`, `%APPDAT
9
9
There are a lot of platform abstraction libraries available. You can get graphics abstraction libraries, GUI abstraction libraries and file abstraction libraries.
10
10
11
11
But folder abstraction seems to be more difficult.
12
-
My problem was that the code that found the place to save data was platformdependent. This cluttered my code and often I would not discover that it did not compile until moving it to the different platforms.
12
+
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.
13
13
14
14
[I have written a bit more about it here.](https://sago007.blogspot.dk/2015/10/abstraction-for-special-folders.html)
15
15
@@ -18,7 +18,7 @@ There are some alternatives that you might consider instead:
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.
21
+
Both are probably 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.
22
22
23
23
## Operating System Support
24
24
@@ -34,9 +34,9 @@ It should work on any Unix system that has the following headers available: `pwd
34
34
35
35
### macOS
36
36
37
-
Version 4.0.0 and forward uses hardcoded values for the directories on Mac OS X. Unlike the other operating systems the folders cannot be moved on a Mac and the translation is done in the UI.
38
-
The versions 2.X and 3.X uses the deprecated FSFindFolder, which requires the CoreServices framework during linking.
39
-
Version 1.X simple used the XDG specification.
37
+
Version 4.0.0 and onwards use hardcoded values for the directories on Mac OS X. Unlike the other operating systems the folders cannot be moved on a Mac and the translation is done in the UI.
38
+
The versions 2.X and 3.X use the deprecated FSFindFolder, which requires the CoreServices framework during linking.
39
+
Version 1.X simply used the XDG specification.
40
40
41
41
## Usage
42
42
@@ -173,6 +173,6 @@ From version 3.0, Windows always encodes to UTF-8, and this will be the default
173
173
Before version 3.0, Windows was encoded in ANSI.
174
174
Although the user may use any characters they want, I recommend that the program should have only ASCII characters in the source code itself.
175
175
176
-
# Licence
176
+
# License
177
177
178
178
Provided under the MIT license for the same reason XDG is licensed under it. So that you can quickly copy-paste the methods you need or just include the "sago"-folder.
0 commit comments