1/* 2 * tkMacOSX.h -- 3 * 4 * Declarations of Macintosh specific exported variables and procedures. 5 * 6 * Copyright (c) 1995-1997 Sun Microsystems, Inc. 7 * Copyright 2001, Apple Computer, Inc. 8 * Copyright (c) 2005-2007 Daniel A. Steffen <das@users.sourceforge.net> 9 * 10 * See the file "license.terms" for information on usage and redistribution 11 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 12 * 13 * RCS: @(#) $Id: tkMacOSX.h,v 1.2.2.3 2007/04/29 02:26:47 das Exp $ 14 */ 15 16#ifndef _TKMAC 17#define _TKMAC 18 19#ifndef _TK 20#include "tk.h" 21#endif 22 23#include <Carbon/Carbon.h> 24 25/* 26 * Structures and function types for handling Netscape-type in process 27 * embedding where Tk does not control the top-level 28 */ 29 30typedef int (Tk_MacOSXEmbedRegisterWinProc) (int winID, Tk_Window window); 31typedef GWorldPtr (Tk_MacOSXEmbedGetGrafPortProc) (Tk_Window window); 32typedef int (Tk_MacOSXEmbedMakeContainerExistProc) (Tk_Window window); 33typedef void (Tk_MacOSXEmbedGetClipProc) (Tk_Window window, RgnHandle rgn); 34typedef void (Tk_MacOSXEmbedGetOffsetInParentProc) (Tk_Window window, Point *ulCorner); 35 36#include "tkPlatDecls.h" 37 38#endif /* _TKMAC */ 39