--- np2/macosx/macossub.h 2004/01/09 07:27:15 1.3 +++ np2/macosx/macossub.h 2004/03/02 23:23:06 1.5 @@ -1,21 +1,6 @@ - -enum { - FILEATTR_READONLY = 0x01, - FILEATTR_HIDDEN = 0x02, - FILEATTR_SYSTEM = 0x04, - FILEATTR_VOLUME = 0x08, - FILEATTR_DIRECTORY = 0x10, - FILEATTR_ARCHIVE = 0x20 -}; - -#define FLISTH void * -#define FLISTH_INVALID ((FLISTH)0) - -typedef struct { - char path[MAX_PATH]; - UINT32 size; - UINT32 attr; -} FLINFO; +#include +#include +#define CFSTRj(name) CFStringCreateWithCString(NULL,name,CFStringGetSystemEncoding()) #ifdef __cplusplus extern "C" { @@ -29,13 +14,8 @@ UINT32 macos_gettick(void); void mkstr255(Str255 dst, const char *src); void mkcstr(char *dst, int size, const Str255 src); -FLISTH file_list1st(const char *dir, FLINFO *fli); -BOOL file_listnext(FLISTH hdl, FLINFO *fli); -void file_listclose(FLISTH hdl); - -bool getLongFileName(char* dst, const char* path); - #ifdef __cplusplus } #endif +