1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
putty-source/mac.h
Ben Harris 84f1e71fad Menu items now turn on and off in a vaguely useful way.
Dragging to select now works.

[originally from svn r90]
1999-03-11 21:40:32 +00:00

34 lines
723 B
C

/*
* mac.h -- macintosh-specific declarations
*/
#ifndef _PUTTY_MAC_H
#define _PUTTY_MAC_H
#include <MacTypes.h>
#include <Events.h>
#include <MacWindows.h>
extern long mac_qdversion;
struct mac_gestalts {
long qdvers;
long apprvers;
long cntlattr;
};
extern struct mac_gestalts mac_gestalts;
/* from macterm.c */
extern void mac_newsession(void);
extern void mac_activateterm(WindowPtr, Boolean);
extern void mac_adjusttermmenus(WindowPtr);
extern void mac_updateterm(WindowPtr);
extern void mac_clickterm(WindowPtr, EventRecord *);
extern void mac_growterm(WindowPtr, EventRecord *);
extern void mac_keyterm(WindowPtr, EventRecord *);
/* from maccfg.c */
extern void mac_loadconfig(Config *);
#endif