annotate include/sys/osx/filesystem.h @ 198:bc1ae1810855

dep/animia: switch from using classes to global functions the old idea was ok, but sort of hackish; this method doesn't use classes at all, and this way (especially important!) we can do wayland stuff AND x11 at the same time, which wasn't really possible without stupid workarounds in the other method
author Paper <mrpapersonic@gmail.com>
date Sun, 24 Dec 2023 02:59:42 -0500
parents 8548dc425697
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __sys__osx__filesystem_h
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __sys__osx__filesystem_h
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
3
5
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 #include <string>
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
5
5
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 namespace osx {
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
7
194
8548dc425697 sys/osx: remove all objective-c++ stuff
Paper <mrpapersonic@gmail.com>
parents: 15
diff changeset
8 bool GetApplicationSupportDirectory(std::string& result);
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
9
5
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 }
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
11
5
51ae25154b70 Fix OS X support code
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 #endif // __sys__osx__filesystem_h