# nswrap.yaml
inputfiles:
    - /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
    - /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h

classes:
    - NSAutoreleasePool
    - NSString
    - NSApplication
    - NSWindow
    - NSView
    - NSMenu
    - NSMenuItem
    - NSButton
    - NSControl
    - NSNotification
    - NSLayoutConstraint
    - NSDictionary
    - NSArray
    - NSObject

functions: [ NSMakeRect ]

enums:
    - NSApplication.*
    - NSBackingStore.*
    - NSWindowStyleMask.*
    - NSWindowButton
    - NSWindowOrderingMode
    - NSLayout.*

delegates:
    AppDelegate:
      NSApplicationDelegate:
        - applicationWillTerminate
        - applicationDidFinishLaunching
        - applicationShouldTerminateAfterLastWindowClosed
        - applicationDidBecomeActive

subclasses:
    GButton:
        NSButton:
            - -(void)pressed

frameworks: [ Foundation, AppKit ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
autorelease: true
