home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Tcl-Tk 8.0 / Pre-installed version / tk8.0 / mac / tkMac.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-15  |  1.4 KB  |  54 lines  |  [TEXT/CWIE]

  1. /*
  2.  * tkMacInt.h --
  3.  *
  4.  *    Declarations of Macintosh specific exported variables and procedures.
  5.  *
  6.  * Copyright (c) 1995-1997 Sun Microsystems, Inc.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * SCCS: @(#) tkMacInt.h 1.58 97/05/06 16:45:18
  12.  */
  13.  
  14. #ifndef _TKMAC
  15. #define _TKMAC
  16.  
  17. #include <Windows.h>
  18.  
  19. /*
  20.  * "export" is a MetroWerks specific pragma.  It flags the linker that  
  21.  * any symbols that are defined when this pragma is on will be exported 
  22.  * to shared libraries that link with this library.
  23.  */
  24.  
  25. #pragma export on
  26.  
  27. /*
  28.  * This variable is exported and can be used by extensions.  It is the
  29.  * way Tk extensions should access the QD Globals.  This is so Tk
  30.  * can support embedding itself in another window. 
  31.  */
  32.  
  33. EXTERN QDGlobalsPtr tcl_macQdPtr;
  34.  
  35. /* 
  36.  * The following functions are needed to create a shell, and so they must be exported
  37.  * from the Tk library.  However, these are not the final form of these interfaces, so
  38.  * they are not currently supported as public interfaces.
  39.  */
  40.  
  41. /*
  42.  * These functions are currently in tkMacInt.h.  They are just copied over here
  43.  * so they can be exported.
  44.  */
  45.  
  46. EXTERN void     TkMacInitMenus _ANSI_ARGS_((Tcl_Interp     *interp));
  47. EXTERN void        TkMacInitAppleEvents _ANSI_ARGS_((Tcl_Interp *interp));
  48.  
  49. EXTERN int        TkMacConvertEvent _ANSI_ARGS_((EventRecord *eventPtr));
  50.  
  51. #pragma export reset
  52.  
  53. #endif /* _TKMAC */
  54.