Skip to content

Commit 6997d4c

Browse files
committed
fix: header output path for generated pigeon files
1 parent b59a827 commit 6997d4c

File tree

4 files changed

+21
-30
lines changed

4 files changed

+21
-30
lines changed

packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/include/google_maps_flutter_ios/messages.g.h

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.1), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

77
#import <Foundation/Foundation.h>
@@ -551,15 +551,13 @@ typedef NS_ENUM(NSUInteger, FGMPlatformMapBitmapScaling) {
551551
@property(nonatomic, strong) id bitmap;
552552
@end
553553

554-
/// Pigeon equivalent of [DefaultMarker]. See
555-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#defaultMarker(float)
554+
/// Pigeon equivalent of [DefaultMarker].
556555
@interface FGMPlatformBitmapDefaultMarker : NSObject
557556
+ (instancetype)makeWithHue:(nullable NSNumber *)hue;
558557
@property(nonatomic, strong, nullable) NSNumber *hue;
559558
@end
560559

561-
/// Pigeon equivalent of [BytesBitmap]. See
562-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#fromBitmap(android.graphics.Bitmap)
560+
/// Pigeon equivalent of [BytesBitmap].
563561
@interface FGMPlatformBitmapBytes : NSObject
564562
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
565563
- (instancetype)init NS_UNAVAILABLE;
@@ -569,8 +567,7 @@ typedef NS_ENUM(NSUInteger, FGMPlatformMapBitmapScaling) {
569567
@property(nonatomic, strong, nullable) FGMPlatformSize *size;
570568
@end
571569

572-
/// Pigeon equivalent of [AssetBitmap]. See
573-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
570+
/// Pigeon equivalent of [AssetBitmap].
574571
@interface FGMPlatformBitmapAsset : NSObject
575572
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
576573
- (instancetype)init NS_UNAVAILABLE;
@@ -579,8 +576,7 @@ typedef NS_ENUM(NSUInteger, FGMPlatformMapBitmapScaling) {
579576
@property(nonatomic, copy, nullable) NSString *pkg;
580577
@end
581578

582-
/// Pigeon equivalent of [AssetImageBitmap]. See
583-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
579+
/// Pigeon equivalent of [AssetImageBitmap].
584580
@interface FGMPlatformBitmapAssetImage : NSObject
585581
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
586582
- (instancetype)init NS_UNAVAILABLE;
@@ -592,8 +588,7 @@ typedef NS_ENUM(NSUInteger, FGMPlatformMapBitmapScaling) {
592588
@property(nonatomic, strong, nullable) FGMPlatformSize *size;
593589
@end
594590

595-
/// Pigeon equivalent of [AssetMapBitmap]. See
596-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
591+
/// Pigeon equivalent of [AssetMapBitmap].
597592
@interface FGMPlatformBitmapAssetMap : NSObject
598593
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
599594
- (instancetype)init NS_UNAVAILABLE;
@@ -609,8 +604,7 @@ typedef NS_ENUM(NSUInteger, FGMPlatformMapBitmapScaling) {
609604
@property(nonatomic, strong, nullable) NSNumber *height;
610605
@end
611606

612-
/// Pigeon equivalent of [BytesMapBitmap]. See
613-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-frombitmap-bitmap-image
607+
/// Pigeon equivalent of [BytesMapBitmap].
614608
@interface FGMPlatformBitmapBytesMap : NSObject
615609
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
616610
- (instancetype)init NS_UNAVAILABLE;

packages/google_maps_flutter/google_maps_flutter_ios/ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/messages.g.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.1), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66

7-
#import "messages.g.h"
7+
#import "./include/google_maps_flutter_ios/messages.g.h"
88

99
#if TARGET_OS_OSX
1010
#import <FlutterMacOS/FlutterMacOS.h>

packages/google_maps_flutter/google_maps_flutter_ios/lib/src/messages.g.dart

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2013 The Flutter Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
4-
// Autogenerated from Pigeon (v22.6.1), do not edit directly.
4+
// Autogenerated from Pigeon (v22.7.3), do not edit directly.
55
// See also: https://pub.dev/packages/pigeon
66
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers
77

@@ -1250,8 +1250,7 @@ class PlatformBitmap {
12501250
}
12511251
}
12521252

1253-
/// Pigeon equivalent of [DefaultMarker]. See
1254-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#defaultMarker(float)
1253+
/// Pigeon equivalent of [DefaultMarker].
12551254
class PlatformBitmapDefaultMarker {
12561255
PlatformBitmapDefaultMarker({
12571256
this.hue,
@@ -1273,8 +1272,7 @@ class PlatformBitmapDefaultMarker {
12731272
}
12741273
}
12751274

1276-
/// Pigeon equivalent of [BytesBitmap]. See
1277-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#fromBitmap(android.graphics.Bitmap)
1275+
/// Pigeon equivalent of [BytesBitmap].
12781276
class PlatformBitmapBytes {
12791277
PlatformBitmapBytes({
12801278
required this.byteData,
@@ -1301,8 +1299,7 @@ class PlatformBitmapBytes {
13011299
}
13021300
}
13031301

1304-
/// Pigeon equivalent of [AssetBitmap]. See
1305-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
1302+
/// Pigeon equivalent of [AssetBitmap].
13061303
class PlatformBitmapAsset {
13071304
PlatformBitmapAsset({
13081305
required this.name,
@@ -1329,8 +1326,7 @@ class PlatformBitmapAsset {
13291326
}
13301327
}
13311328

1332-
/// Pigeon equivalent of [AssetImageBitmap]. See
1333-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
1329+
/// Pigeon equivalent of [AssetImageBitmap].
13341330
class PlatformBitmapAssetImage {
13351331
PlatformBitmapAssetImage({
13361332
required this.name,
@@ -1362,8 +1358,7 @@ class PlatformBitmapAssetImage {
13621358
}
13631359
}
13641360

1365-
/// Pigeon equivalent of [AssetMapBitmap]. See
1366-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-fromasset-string-assetname
1361+
/// Pigeon equivalent of [AssetMapBitmap].
13671362
class PlatformBitmapAssetMap {
13681363
PlatformBitmapAssetMap({
13691364
required this.assetName,
@@ -1405,8 +1400,7 @@ class PlatformBitmapAssetMap {
14051400
}
14061401
}
14071402

1408-
/// Pigeon equivalent of [BytesMapBitmap]. See
1409-
/// https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/BitmapDescriptorFactory#public-static-bitmapdescriptor-frombitmap-bitmap-image
1403+
/// Pigeon equivalent of [BytesMapBitmap].
14101404
class PlatformBitmapBytesMap {
14111405
PlatformBitmapBytesMap({
14121406
required this.byteData,

packages/google_maps_flutter/google_maps_flutter_ios/pigeons/messages.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ import 'package:pigeon/pigeon.dart';
77
@ConfigurePigeon(PigeonOptions(
88
dartOut: 'lib/src/messages.g.dart',
99
objcHeaderOut:
10-
'ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/messages.g.h',
10+
'ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/include/google_maps_flutter_ios/messages.g.h',
1111
objcSourceOut:
1212
'ios/google_maps_flutter_ios/Sources/google_maps_flutter_ios/messages.g.m',
13-
objcOptions: ObjcOptions(prefix: 'FGM'),
13+
objcOptions: ObjcOptions(
14+
prefix: 'FGM',
15+
headerIncludePath: './include/google_maps_flutter_ios/messages.g.h',
16+
),
1417
copyrightHeader: 'pigeons/copyright.txt',
1518
))
1619

0 commit comments

Comments
 (0)