1 #ifndef osxbits_h_
2 #define osxbits_h_
3 #include <sys/types.h>
4 
5 #ifdef __OBJC__
6 extern id nsapp;
7 #endif
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 void osx_preopen(void);
14 void osx_postopen(void);
15 
16 int osx_msgbox(const char *name, const char *msg);
17 int osx_ynbox(const char *name, const char *msg);
18 
19 char *osx_gethomedir(void);
20 char *osx_getsupportdir(int32_t local);
21 char *osx_getappdir(void);
22 char *osx_getapplicationsdir(int32_t local);
23 char *osx_getdocumentsdir(int32_t local);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif
30