• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CoreLocation-2.5.1/Lib/CoreLocation/
1# This file is generated by objective.metadata
2#
3# Last update: Wed Sep 19 16:12:12 2012
4
5import objc, sys
6
7if sys.maxsize > 2 ** 32:
8    def sel32or64(a, b): return b
9else:
10    def sel32or64(a, b): return a
11if sys.byteorder == 'little':
12    def littleOrBig(a, b): return a
13else:
14    def littleOrBig(a, b): return b
15
16misc = {
17}
18misc.update({'CLLocationCoordinate2D': objc.createStructType('CLLocationCoordinate2D', b'{_CLLocationCoordinate2D=dd}', ['latitude', 'longitude'])})
19constants = '''$kCLDistanceFilterNone@d$kCLErrorDomain$kCLErrorUserInfoAlternateRegionKey$kCLHeadingFilterNone@d$kCLLocationAccuracyBest@d$kCLLocationAccuracyBestForNavigation@d$kCLLocationAccuracyHundredMeters@d$kCLLocationAccuracyKilometer@d$kCLLocationAccuracyNearestTenMeters@d$kCLLocationAccuracyThreeKilometers@d$kCLLocationCoordinate2DInvalid@{_CLLocationCoordinate2D=dd}$'''
20enums = '''$CLDeviceOrientationFaceDown@6$CLDeviceOrientationFaceUp@5$CLDeviceOrientationLandscapeLeft@3$CLDeviceOrientationLandscapeRight@4$CLDeviceOrientationPortrait@1$CLDeviceOrientationPortraitUpsideDown@2$CLDeviceOrientationUnknown@0$kCLAuthorizationStatusAuthorized@3$kCLAuthorizationStatusDenied@2$kCLAuthorizationStatusNotDetermined@0$kCLAuthorizationStatusRestricted@1$kCLErrorDenied@1$kCLErrorGeocodeFoundPartialResult@9$kCLErrorHeadingFailure@3$kCLErrorLocationUnknown@0$kCLErrorNetwork@2$kCLErrorRegionMonitoringDenied@4$kCLErrorRegionMonitoringFailure@5$kCLErrorRegionMonitoringResponseDelayed@7$kCLErrorRegionMonitoringSetupDelayed@6$'''
21misc.update({})
22functions={'CLLocationCoordinate2DIsValid': (b'Z{_CLLocationCoordinate2D=dd}',), 'CLLocationCoordinate2DMake': (b'{_CLLocationCoordinate2D=dd}dd',)}
23r = objc.registerMetaDataForSelector
24objc._updatingMetadata(True)
25try:
26    r(b'CLGeocoder', b'geocodeAddressDictionary:completionHandler:', {'arguments': {3: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
27    r(b'CLGeocoder', b'geocodeAddressString:completionHandler:', {'arguments': {3: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
28    r(b'CLGeocoder', b'geocodeAddressString:inRegion:completionHandler:', {'arguments': {4: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
29    r(b'CLGeocoder', b'isGeocoding', {'retval': {'type': b'Z'}})
30    r(b'CLGeocoder', b'reverseGeocodeLocation:completionHandler:', {'arguments': {3: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
31    r(b'CLLocation', b'coordinate', {'retval': {'type': '{_CLLocationCoordinate2D=dd}'}})
32    r(b'CLLocation', b'initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:', {'arguments': {2: {'type': b'{_CLLocationCoordinate2D=dd}'}}})
33    r(b'CLLocation', b'initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:', {'arguments': {2: {'type': '{_CLLocationCoordinate2D=dd}'}}})
34    r(b'CLLocationManager', b'headingAvailable', {'retval': {'type': b'Z'}})
35    r(b'CLLocationManager', b'headingAvailable', {'retval': {'type': b'Z'}})
36    r(b'CLLocationManager', b'locationServicesEnabled', {'retval': {'type': b'Z'}})
37    r(b'CLLocationManager', b'locationServicesEnabled', {'retval': {'type': 'Z'}})
38    r(b'CLLocationManager', b'regionMonitoringAvailable', {'retval': {'type': b'Z'}})
39    r(b'CLLocationManager', b'regionMonitoringEnabled', {'retval': {'type': b'Z'}})
40    r(b'CLLocationManager', b'significantLocationChangeMonitoringAvailable', {'retval': {'type': b'Z'}})
41    r(b'CLRegion', b'center', {'retval': {'type': b'{_CLLocationCoordinate2D=dd}'}})
42    r(b'CLRegion', b'containsCoordinate:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'{_CLLocationCoordinate2D=dd}'}}})
43    r(b'CLRegion', b'initCircularRegionWithCenter:radius:identifier:', {'arguments': {2: {'type': b'{_CLLocationCoordinate2D=dd}'}}})
44finally:
45    objc._updatingMetadata(False)
46r = objc.registerMetaDataForSelector
47objc._updatingMetadata(True)
48try:
49    r(b'NSObject', b'locationManager:didChangeAuthorizationStatus:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'i'}}})
50    r(b'NSObject', b'locationManager:didEnterRegion:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
51    r(b'NSObject', b'locationManager:didExitRegion:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
52    r(b'NSObject', b'locationManager:didFailWithError:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
53    r(b'NSObject', b'locationManager:didStartMonitoringForRegion:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
54    r(b'NSObject', b'locationManager:didUpdateHeading:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
55    r(b'NSObject', b'locationManager:didUpdateToLocation:fromLocation:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}, 4: {'type': b'@'}}})
56    r(b'NSObject', b'locationManager:monitoringDidFailForRegion:withError:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}, 4: {'type': b'@'}}})
57    r(b'NSObject', b'locationManagerShouldDisplayHeadingCalibration:', {'required': False, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'@'}}})
58finally:
59    objc._updatingMetadata(False)
60expressions = {}
61
62# END OF FILE
63