Skip to content

Commit 9181b03

Browse files
Updated all internal BFTask definitions to be generic.
1 parent 2c1fdae commit 9181b03

File tree

40 files changed

+136
-41
lines changed

40 files changed

+136
-41
lines changed

Parse/Internal/ACL/DefaultACLController/PFDefaultACLController.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
@class BFTask;
12+
#import <Parse/PFConstants.h>
13+
14+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1315
@class PFACL;
1416

1517
NS_ASSUME_NONNULL_BEGIN

Parse/Internal/Analytics/Controller/PFAnalyticsController.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99

1010
#import <Foundation/Foundation.h>
1111

12+
#import <Parse/PFConstants.h>
13+
1214
#import "PFDataProvider.h"
1315

14-
@class BFTask;
16+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1517

1618
@interface PFAnalyticsController : NSObject
1719

Parse/Internal/CloudCode/PFCloudCodeController.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
@class BFTask;
12+
#import <Parse/PFConstants.h>
13+
14+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1315
@protocol PFCommandRunning;
1416

1517
@interface PFCloudCodeController : NSObject

Parse/Internal/Commands/CommandRunner/PFCommandRunning.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
#import "PFDataProvider.h"
1515

1616
@class BFCancellationToken;
17-
@class BFTask;
17+
@class BFTask PF_GENERIC(__covariant BFGenericType);
18+
@class PFCommandResult;
1819
@class PFRESTCommand;
1920
@protocol PFNetworkCommand;
2021

Parse/Internal/Commands/CommandRunner/URLSession/Session/PFURLSession.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#import <Parse/PFConstants.h>
1313

1414
@class BFCancellationToken;
15-
@class BFTask;
15+
16+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1617
@class PFRESTCommand;
1718

1819
NS_ASSUME_NONNULL_BEGIN

Parse/Internal/Commands/CommandRunner/URLSession/Session/TaskDelegate/PFURLSessionDataTaskDelegate.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99

1010
#import <Foundation/Foundation.h>
1111

12+
#import <Parse/PFConstants.h>
13+
1214
@class BFCancellationToken;
13-
@class BFTask;
15+
16+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1417

1518
NS_ASSUME_NONNULL_BEGIN
1619

Parse/Internal/Config/Controller/PFConfigController.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
@class BFTask;
12+
#import <Parse/PFConstants.h>
13+
14+
@class BFTask PF_GENERIC(__covariant BFGenericType);
15+
@class PFConfig;
1316
@class PFCurrentConfigController;
1417
@class PFFileManager;
1518
@protocol PFCommandRunning;

Parse/Internal/Config/Controller/PFCurrentConfigController.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
@class BFTask;
12+
#import <Parse/PFConstants.h>
13+
14+
#import "PFMacros.h"
15+
16+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1317
@class PFConfig;
1418
@class PFFileManager;
1519

Parse/Internal/File/Controller/PFFileController.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
#import <Parse/PFConstants.h>
1313

1414
#import "PFDataProvider.h"
15+
#import "PFMacros.h"
1516

1617
@class BFCancellationToken;
17-
@class BFTask;
18+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1819
@class PFFileState;
1920
@class PFFileStagingController;
2021

Parse/Internal/File/Controller/PFFileStagingController.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
#import <Foundation/Foundation.h>
1111

12-
#import <Bolts/BFTask.h>
12+
#import <Parse/PFConstants.h>
13+
14+
@class BFTask PF_GENERIC(__covariant BFGenericType);
1315

1416
NS_ASSUME_NONNULL_BEGIN
1517

0 commit comments

Comments
 (0)