4 /* on Mac OS 10.4 there is a struct strbuf in Carbon */
5 #define strbuf mac_strbuf
6 #include <Carbon/Carbon.h>
8 #include "../common/strbuf.h"
10 /* implements platform dependent utility functions for
11 * handling platform dependent types */
12 int selection_to_path(char *path
, int len
, const AEDesc
*selection
/*,
15 AEDesc
*get_file_from_selection(const AEDesc
*selection
, AEDesc
*file
);
16 AEDesc
*get_file_from_selection_list(const AEDesc
*selection
, AEDesc
*file
18 int exec_program(const char *working_directory
,
19 struct strbuf
*output
, struct strbuf
*error_output
,
22 #endif /* FINDER_UTIL_H */