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-2009, Apple Inc. 8 * Copyright (c) 2005-2009 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 14 #ifndef _TKMAC 15 #define _TKMAC 16 17 #ifndef _TK 18 #include "tk.h" 19 #endif 20 21 /* 22 * Structures and function types for handling Netscape-type in process 23 * embedding where Tk does not control the top-level 24 */ 25 26 typedef int (Tk_MacOSXEmbedRegisterWinProc) (long winID, Tk_Window window); 27 typedef void* (Tk_MacOSXEmbedGetGrafPortProc) (Tk_Window window); 28 typedef int (Tk_MacOSXEmbedMakeContainerExistProc) (Tk_Window window); 29 typedef void (Tk_MacOSXEmbedGetClipProc) (Tk_Window window, TkRegion rgn); 30 typedef void (Tk_MacOSXEmbedGetOffsetInParentProc) (Tk_Window window, void *ulCorner); 31 32 #include "tkPlatDecls.h" 33 34 #endif /* _TKMAC */ 35