logeventf() shouldn't throw stuff at stderr, since it invokes the
[u/mdw/putty] / mac / mac.h
index a63645d..626ca51 100644 (file)
--- a/mac/mac.h
+++ b/mac/mac.h
 #include <Gestalt.h>
 #include <MacWindows.h>
 #include <Palettes.h>
+#include <UnicodeConverter.h>
 
 struct mac_gestalts {
+    long sysvers;
     long qdvers;
     long apprvers;
     long cntlattr;
     long windattr;
-    long thdsattr;
+    long encvvers;
 };
 
 extern struct mac_gestalts mac_gestalts;
@@ -53,8 +55,6 @@ typedef struct {
     char *realhost;
     /* Logging */
     void *logctx;
-    /* Conveniences */
-    unsigned long attr_mask;           /* Mask of attributes to display */
 
     /* Mac-specific elements */
     short              fontnum;
@@ -65,8 +65,8 @@ typedef struct {
     PaletteHandle      palette;
     ControlHandle      scrollbar;
     WCTabHandle                wctab;
-    ThreadID           thread;
     int                        raw_mouse;
+    UnicodeToTextInfo  uni_to_font;
 } Session;
 
 #endif