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
-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