2008-02-17 07:38:48 +00:00
|
|
|
{
|
|
|
|
AppKit.h
|
|
|
|
Application Kit
|
|
|
|
Copyright (c) 1994-2005, Apple Computer, Inc.
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
This file is included by all AppKit application source files for easy building. Using this file is preferred over importing individual files because it will use a precompiled version.
|
|
|
|
}
|
|
|
|
unit appkit;
|
|
|
|
|
|
|
|
{$ifdef fpc}
|
|
|
|
{$mode delphi}
|
|
|
|
{$packrecords c}
|
|
|
|
{$endif}
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
2008-06-07 16:14:22 +00:00
|
|
|
uses ctypes, FPCMacOSAll, objc, foundation, cocoacoregraphics;
|
2008-02-17 07:38:48 +00:00
|
|
|
|
2008-02-22 22:39:15 +00:00
|
|
|
{$define HEADER}
|
2008-02-17 07:38:48 +00:00
|
|
|
{$include AppKit.inc}
|
2008-02-22 22:39:15 +00:00
|
|
|
{$undef HEADER}
|
|
|
|
|
|
|
|
type
|
2008-05-09 19:51:36 +00:00
|
|
|
{$define FORWARD}
|
|
|
|
{$include AppKit.inc}
|
|
|
|
{$undef FORWARD}
|
|
|
|
|
2008-02-22 22:39:15 +00:00
|
|
|
{$define CLASSES}
|
|
|
|
{$include AppKit.inc}
|
|
|
|
{$undef CLASSES}
|
|
|
|
|
|
|
|
var
|
|
|
|
NSApp: NSApplication;
|
2008-02-17 07:38:48 +00:00
|
|
|
|
|
|
|
implementation
|
|
|
|
|
2008-02-22 22:39:15 +00:00
|
|
|
{$define IMPLEMENTATION}
|
|
|
|
{$include AppKit.inc}
|
|
|
|
{$undef IMPLEMENTATION}
|
2008-02-17 07:38:48 +00:00
|
|
|
|
|
|
|
end.
|
|
|
|
|