Switch from toml to yaml for configuration files. Begin scaffolding

for Protocols and Delegates.
This commit is contained in:
gmp
2019-05-09 12:25:45 -04:00
parent cccbfbbc00
commit b00ecd4ac0
12 changed files with 298 additions and 138 deletions
-45
View File
@@ -1,45 +0,0 @@
InputFiles = [
"/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h",
"/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h",
]
Classes = [
"NSArray",
"NSMutableArray",
"NSDictionary",
"NSEnumerator",
"NSSet",
"NSDate",
"NSTimeZone",
"NSCalendar",
"NSLocale",
"NSCharacterSet",
"NSString",
"NSScanner",
"NSFileManager",
"NSApplication",
"NSBundle",
"NSApp",
"NSMenu",
"NSMenuItem",
"NSWindow",
"NSView",
"NSScreen",
"NSButton",
"NSEvent",
"NSResponder",
"NSRunLoop",
]
Functions = [
"NSMake.*",
]
Enums = [
"CF.*",
"NSApplication.*",
"NSBackingStore.*",
"NSWindowStyleMask.*",
"NSWindowButton",
"NSWindowOrderingMode",
]
Frameworks = [ "Foundation", "AppKit", "CoreGraphics" ]
Pragma = [ 'clang diagnostic ignored "-Wformat-security"' ]
VaArgs = 32
+49
View File
@@ -0,0 +1,49 @@
inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
- /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h
classes:
- NSArray"
- NSMutableArray
- NSDictionary
- NSEnumerator
- NSSet
- NSDate
- NSTimeZone
- NSCalendar
- NSLocale
- NSCharacterSet
- NSString
- NSScanner
- NSFileManager
- NSApplication
- NSBundle
- NSApp
- NSMenu
- NSMenuItem
- NSWindow
- NSView
- NSScreen
- NSButton
- NSEvent
- NSResponder
- NSRunLoop
functions: [NSMake.*]
enums:
- CF.*
- NSApplication.*
- NSBackingStore.*
- NSWindowStyleMask.*
- NSWindowButton
- NSWindowOrderingMode
delegates:
AppDelegate: [NSApplicationDelegate]
frameworks: [ Foundation, AppKit, CoreGraphics ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
vaargs: 32
-44
View File
@@ -1,44 +0,0 @@
Package = "ble"
InputFiles = [
"/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h",
"/System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.h",
"ble/ble_delegate.h",
]
Classes = [
"ble_delegate",
"CBCentralManager",
"CBPeripheralManager",
"CBPeripheral",
"CBCentral",
"CBService",
"CBCharacteristic",
"CBDescriptor",
"CBError",
"CBUUID",
"CBAdvertisementData",
"CBATTRequest",
"NSArray",
"NSMutableArray",
"NSDictionary",
"NSEnumerator",
"NSSet",
"NSDate",
"NSTimeZone",
"NSString",
]
Functions = [
"NSMakeRange",
]
Enums = [
"CB.*",
]
Frameworks = [
"Foundation",
"CoreBluetooth",
]
Imports = [
"ble_delegate.h",
]
Pragma = [ 'clang diagnostic ignored "-Wformat-security"' ]
VaArgs = 32
+35
View File
@@ -0,0 +1,35 @@
package: ble
inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
- /System/Library/Frameworks/CoreBluetooth.framework/Headers/CoreBluetooth.h
- ble/ble_delegate.h
classes:
- ble_delegate
- CBCentralManager
- CBPeripheralManager
- CBPeripheral
- CBCentral
- CBService
- CBCharacteristic
- CBDescriptor
- CBError
- CBUUID
- CBAdvertisementData
- CBATTRequest
- NSArray
- NSMutableArray
- NSDictionary
- NSEnumerator
- NSSet
- NSDate
- NSTimeZone
- NSString
functions: [ NSMakeRange ]
enums: [ CB.* ]
frameworks: [ Foundation, CoreBluetooth ]
imports: [ ble_delegate.h ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
vaargs: 32
-28
View File
@@ -1,28 +0,0 @@
InputFiles = [
"/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h",
]
Classes = [
"NSArray",
"NSMutableArray",
"NSDictionary",
"NSEnumerator",
"NSSet",
"NSDate",
"NSTimeZone",
"NSCalendar",
"NSLocale",
"NSCharacterSet",
"NSString",
"NSScanner",
"NSFileManager",
]
Functions = [
"NSMakeRange",
]
Enums = [
"P_ALL",
"CF.*",
]
Frameworks = [ "Foundation" ]
Pragma = [ 'clang diagnostic ignored "-Wformat-security"' ]
VaArgs = 32
+21
View File
@@ -0,0 +1,21 @@
inputfiles:
- /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
classes:
- NSArray
- NSMutableArray
- NSDictionary
- NSEnumerator
- NSSet
- NSDate
- NSTimeZone
- NSCalendar
- NSLocale
- NSCharacterSet
- NSString
- NSScanner
- NSFileManager
functions: [ NSMakeRange ]
enums: [ P_ALL, CF.* ]
frameworks: [ Foundation ]
pragma: [ clang diagnostic ignored "-Wformat-security" ]
vaargs: 32
-5
View File
@@ -1,5 +0,0 @@
Package = "ClassOne"
InputFiles = [ "ClassOne/simple.h" ]
Classes = [ "ClassOne","ClassTwo" ]
Imports = [ "simple.h" ]
Frameworks = [ "Foundation" ]
+7
View File
@@ -0,0 +1,7 @@
package: ClassOne
inputfiles: [ ClassOne/simple.h ]
classes:
- ClassOne
- ClassTwo
imports: [ simple.h ]
frameworks: [ Foundation ]