Skip to content

Commit 7b922c9

Browse files
author
Daniel Browne
committed
Remove 'WITH_ENCRYPTION' compiler flag from 'Consumption-Tests' source files
1 parent 02ddd4c commit 7b922c9

File tree

8 files changed

+8
-40
lines changed

8 files changed

+8
-40
lines changed

Consumption-Tests/Shared/Objective-C/ViewController+Extensions.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88
#import "macOS/ViewController.h"
99
#endif
1010

11-
#if WITH_ENCRYPTION
12-
@import PusherSwiftWithEncryption;
13-
#else
14-
@import PusherSwift;
15-
#endif
11+
@import PusherSwift;
1612

1713
NS_ASSUME_NONNULL_BEGIN
1814

Consumption-Tests/Shared/Objective-C/iOS/ViewController.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#import <UIKit/UIKit.h>
22

3-
#if WITH_ENCRYPTION
4-
@import PusherSwiftWithEncryption;
5-
#else
6-
@import PusherSwift;
7-
#endif
3+
@import PusherSwift;
84

95
@interface ViewController : UIViewController <PusherDelegate>
106

Consumption-Tests/Shared/Objective-C/macOS/ViewController.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#import <Cocoa/Cocoa.h>
22

3-
#if WITH_ENCRYPTION
4-
@import PusherSwiftWithEncryption;
5-
#else
6-
@import PusherSwift;
7-
#endif
3+
@import PusherSwift;
84

95
@interface ViewController : NSViewController
106

Consumption-Tests/Shared/Objective-C/tvOS/ViewController.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#import <UIKit/UIKit.h>
22

3-
#if WITH_ENCRYPTION
4-
@import PusherSwiftWithEncryption;
5-
#else
6-
@import PusherSwift;
7-
#endif
3+
@import PusherSwift;
84

95
@interface ViewController : UIViewController <PusherDelegate>
106

Consumption-Tests/Shared/Swift/ViewController+Extensions.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import Foundation
22

3-
#if WITH_ENCRYPTION
4-
import PusherSwiftWithEncryption
5-
#else
6-
import PusherSwift
7-
#endif
3+
import PusherSwift
84

95
class AuthRequestBuilder: AuthRequestBuilderProtocol {
106
func requestFor(socketID: String, channelName: String) -> URLRequest? {

Consumption-Tests/Shared/Swift/iOS/ViewController.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import UIKit
22

3-
#if WITH_ENCRYPTION
4-
import PusherSwiftWithEncryption
5-
#else
6-
import PusherSwift
7-
#endif
3+
import PusherSwift
84

95
class ViewController: UIViewController {
106
var pusher: Pusher! = nil

Consumption-Tests/Shared/Swift/macOS/ViewController.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import Cocoa
22

3-
#if WITH_ENCRYPTION
4-
import PusherSwiftWithEncryption
5-
#else
6-
import PusherSwift
7-
#endif
3+
import PusherSwift
84

95
class ViewController: NSViewController {
106
var pusher: Pusher! = nil

Consumption-Tests/Shared/Swift/tvOS/ViewController.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import UIKit
22

3-
#if WITH_ENCRYPTION
4-
import PusherSwiftWithEncryption
5-
#else
6-
import PusherSwift
7-
#endif
3+
import PusherSwift
84

95
class ViewController: UIViewController {
106
var pusher: Pusher! = nil

0 commit comments

Comments
 (0)