--- np2/macosx/macossub.h 2003/10/16 17:59:36 1.1 +++ np2/macosx/macossub.h 2004/03/02 23:23:06 1.5 @@ -1,18 +1,6 @@ - -enum { - FILEATTR_READONLY = 0x01, - FILEATTR_HIDDEN = 0x02, - FILEATTR_SYSTEM = 0x04, - FILEATTR_VOLUME = 0x08, - FILEATTR_DIRECTORY = 0x10, - FILEATTR_ARCHIVE = 0x20 -}; - -typedef struct { - char path[MAX_PATH]; - UINT32 size; - UINT32 attr; -} FLDATA; +#include +#include +#define CFSTRj(name) CFStringCreateWithCString(NULL,name,CFStringGetSystemEncoding()) #ifdef __cplusplus extern "C" { @@ -26,11 +14,8 @@ UINT32 macos_gettick(void); void mkstr255(Str255 dst, const char *src); void mkcstr(char *dst, int size, const Str255 src); -void *file_list1st(const char *dir, FLDATA *fl); -BOOL file_listnext(void *hdl, FLDATA *fl); -void file_listclose(void *hdl); - #ifdef __cplusplus } #endif +