jpayne@69: /* jpayne@69: * tkMacOSX.h -- jpayne@69: * jpayne@69: * Declarations of Macintosh specific exported variables and procedures. jpayne@69: * jpayne@69: * Copyright (c) 1995-1997 Sun Microsystems, Inc. jpayne@69: * Copyright 2001-2009, Apple Inc. jpayne@69: * Copyright (c) 2005-2009 Daniel A. Steffen jpayne@69: * jpayne@69: * See the file "license.terms" for information on usage and redistribution jpayne@69: * of this file, and for a DISCLAIMER OF ALL WARRANTIES. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _TKMAC jpayne@69: #define _TKMAC jpayne@69: jpayne@69: #ifndef _TK jpayne@69: #include "tk.h" jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * Structures and function types for handling Netscape-type in process jpayne@69: * embedding where Tk does not control the top-level jpayne@69: */ jpayne@69: jpayne@69: typedef int (Tk_MacOSXEmbedRegisterWinProc) (long winID, Tk_Window window); jpayne@69: typedef void* (Tk_MacOSXEmbedGetGrafPortProc) (Tk_Window window); jpayne@69: typedef int (Tk_MacOSXEmbedMakeContainerExistProc) (Tk_Window window); jpayne@69: typedef void (Tk_MacOSXEmbedGetClipProc) (Tk_Window window, void *rgn); jpayne@69: typedef void (Tk_MacOSXEmbedGetOffsetInParentProc) (Tk_Window window, void *ulCorner); jpayne@69: jpayne@69: #include "tkPlatDecls.h" jpayne@69: jpayne@69: #endif /* _TKMAC */