Mercurial > libanimone
annotate include/animone/util/osx.h @ 7:f80b3c3ec7f0
dep/animone: make OS X code build
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Sun, 14 Apr 2024 22:28:50 -0400 |
| parents | cce3a81b03bf |
| children |
| rev | line source |
|---|---|
| 0 | 1 #ifndef ANIMONE_ANIMONE_UTIL_OSX_H_ |
| 2 #define ANIMONE_ANIMONE_UTIL_OSX_H_ | |
| 3 | |
| 4 #include "animone/types.h" | |
| 5 #include <cstdint> | |
| 6 #include <string> | |
|
4
cce3a81b03bf
dep/animone: make osx code a bit less hacky
Paper <paper@paper.us.eu.org>
parents:
0
diff
changeset
|
7 #include <memory> |
| 0 | 8 |
| 9 #include <CoreFoundation/CoreFoundation.h> | |
| 10 | |
| 11 namespace animone::internal::osx::util { | |
| 12 | |
| 13 bool GetProcessName(pid_t pid, std::string& result); | |
| 14 | |
| 15 } // namespace animone::internal::osx::util | |
| 16 | |
| 17 #endif // ANIMONE_ANIMONE_UTIL_OSX_H_ |
