nswrap/examples/app/nswrap.yaml

48 lines
1007 B
YAML

# 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
- dealloc
frameworks: [ Foundation, AppKit ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]