X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mac%2Fmacstuff.h;h=b0633c6048250dc43e252a0b1a0fd090433c283d;hb=a10edf435b5609d0a6859b41a48a846990c8a8a3;hp=ce3b58feba01a87e1132c16dd228fee0a99c50b9;hpb=87f9446a264b9cec91ed92eeb15e5c528e1ced14;p=PuTTY.git diff --git a/mac/macstuff.h b/mac/macstuff.h index ce3b58fe..b0633c60 100644 --- a/mac/macstuff.h +++ b/mac/macstuff.h @@ -4,6 +4,25 @@ typedef void *Context; /* FIXME */ +#include +#include + +#include + +struct Filename { + FSSpec fss; +}; + +extern FILE * f_open(struct Filename, char const *); + +/* Suspiciously similar to an ICFontRecord */ +struct FontSpec { + short size; + Style face; + char pad; + Str255 name; +}; + /* * On the Mac, Unicode text copied to the clipboard has U+2028 line separators. * Non-Unicode text will have these converted to CR along with the rest of the @@ -40,3 +59,7 @@ extern int vsnprintf(char *, size_t, char const *, va_list); extern int stricmp(char const *, char const *); extern int strnicmp(char const *, char const *, size_t); + +#define HELPCTX(foo) I(0) + +#define FILTER_KEY_FILES "pAgt.PPK"