mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
04aceed7bf
actually links, you understand, but it does most of the rest of the things it should. [originally from svn r130]
43 lines
917 B
C
43 lines
917 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;
|
|
long windattr;
|
|
};
|
|
|
|
extern struct mac_gestalts mac_gestalts;
|
|
|
|
/* from macterm.c */
|
|
extern void mac_newsession(void);
|
|
extern void mac_activateterm(WindowPtr, Boolean);
|
|
extern void mac_adjusttermcursor(WindowPtr, Point, RgnHandle);
|
|
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 *);
|
|
extern void mac_menuterm(WindowPtr, short, short);
|
|
/* from maccfg.c */
|
|
extern void mac_loadconfig(Config *);
|
|
|
|
#endif
|
|
|
|
/*
|
|
* Local Variables:
|
|
* c-file-style: "simon"
|
|
* End:
|
|
*/
|