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