Преглед изворни кода

Move Internal headers to Sources (#6106)

* Move Internal headers to Sources/ folder
Cleo Schneider пре 5 година
родитељ
комит
accce45e41

+ 6 - 6
FirebaseAppDistribution/Sources/FIRAppDistribution.m

@@ -18,12 +18,12 @@
 #import "GoogleUtilities/AppDelegateSwizzler/Private/GULAppDelegateSwizzler.h"
 #import "GoogleUtilities/UserDefaults/Private/GULUserDefaults.h"
 
-#import "FIRAppDistribution+Private.h"
-#import "FIRAppDistributionMachO+Private.h"
-#import "FIRAppDistributionRelease+Private.h"
-#import "FIRAppDistributionUIService.h"
-#import "FIRFADApiService+Private.h"
-#import "FIRFADLogger+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h"
+#import "FirebaseAppDistribution/Sources/FIRFADApiService.h"
+#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistribution.h"
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease.h"
 
 /// Empty protocol to register with FirebaseCore's component system.
 @protocol FIRAppDistributionInstanceProvider <NSObject>

+ 1 - 1
FirebaseAppDistribution/Sources/Private/FIRAppDistributionMachO+Private.h → FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h

@@ -15,7 +15,7 @@
  */
 
 #import <Foundation/Foundation.h>
-#import "FIRAppDistributionMachOSlice+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachOSlice.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 2 - 2
FirebaseAppDistribution/Sources/FIRAppDistributionMachO.m

@@ -14,12 +14,12 @@
  * limitations under the License.
  */
 
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
 #import <CommonCrypto/CommonHMAC.h>
 #include <mach-o/arch.h>
 #import <mach-o/fat.h>
 #import <mach-o/loader.h>
-#import "FIRAppDistributionMachO+Private.h"
-#import "FIRAppDistributionMachOSlice+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachOSlice.h"
 
 @interface FIRAppDistributionMachO ()
 @property(nonatomic, copy) NSFileHandle* file;

+ 0 - 0
FirebaseAppDistribution/Sources/Private/FIRAppDistributionMachOSlice+Private.h → FirebaseAppDistribution/Sources/FIRAppDistributionMachOSlice.h


+ 1 - 1
FirebaseAppDistribution/Sources/FIRAppDistributionMachOSlice.m

@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachOSlice.h"
 #import <mach-o/fat.h>
 #import <mach-o/loader.h>
-#import "FIRAppDistributionMachOSlice+Private.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 1 - 1
FirebaseAppDistribution/Sources/FIRAppDistributionRelease.m

@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#import "FIRAppDistributionRelease.h"
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease.h"
 
 @interface FIRAppDistributionRelease ()
 @property(nonatomic, copy) NSString *displayVersion;

+ 2 - 1
FirebaseAppDistribution/Sources/Private/FIRAppDistributionUIService.h → FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h

@@ -16,7 +16,8 @@
 #import <Foundation/Foundation.h>
 #import <SafariServices/SafariServices.h>
 #import <UIKit/UIKit.h>
-#import "FIRAppDistribution+Private.h"
+
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistribution.h"
 
 NS_ASSUME_NONNULL_BEGIN
 /// An instance of this class provides UI elements required for the App Distribution tester

+ 5 - 4
FirebaseAppDistribution/Sources/FIRAppDistributionUIService.m

@@ -12,13 +12,14 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#import "FIRAppDistributionUIService.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h"
+#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
+#import "FirebaseAppDistribution/Sources/Public/FIRAppDistribution.h"
+#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
+
 #import <AuthenticationServices/AuthenticationServices.h>
 #import <SafariServices/SafariServices.h>
 #import <UIKit/UIKit.h>
-#import "FIRAppDistribution.h"
-#import "FIRFADLogger+Private.h"
-#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
 
 @implementation FIRAppDistributionUIService
 

+ 3 - 2
FirebaseAppDistribution/Sources/Private/FIRFADApiService+Private.h → FirebaseAppDistribution/Sources/FIRFADApiService.h

@@ -11,9 +11,10 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-#import <FirebaseInstallations/FirebaseInstallations.h>
 #import <Foundation/Foundation.h>
-#import "FIRAppDistributionRelease.h"
+
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease.h"
+#import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 2 - 2
FirebaseAppDistribution/Sources/FIRFADApiService.m

@@ -11,9 +11,9 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
+#import "FirebaseAppDistribution/Sources/FIRFADApiService.h"
 #import <Foundation/Foundation.h>
-#import "FIRFADApiService+Private.h"
-#import "FIRFADLogger+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
 #import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
 #import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"
 

+ 0 - 0
FirebaseAppDistribution/Sources/Private/FIRFADLogger+Private.h → FirebaseAppDistribution/Sources/FIRFADLogger.h


+ 2 - 3
FirebaseAppDistribution/Sources/FIRFADLogger.m

@@ -12,9 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#import "FIRFADLogger+Private.h"
-
-#import <FirebaseCore/FIRLogger.h>
+#import "FirebaseAppDistribution/Sources/FIRFADLogger.h"
+#import "FirebaseCore/Sources/Private/FIRLogger.h"
 
 FIRLoggerService kFIRLoggerAppDistribution = @"[Firebase/AppDistribution]";
 

+ 2 - 1
FirebaseAppDistribution/Sources/Private/FIRAppDistribution+Private.h → FirebaseAppDistribution/Sources/Private/FIRAppDistribution.h

@@ -12,7 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#import "FIRAppDistribution.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h"
+#import "FirebaseAppDistribution/Sources/Public/FIRAppDistribution.h"
 
 #define STR(x) STR_EXPAND(x)
 #define STR_EXPAND(x) #x

+ 1 - 1
FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease+Private.h → FirebaseAppDistribution/Sources/Private/FIRAppDistributionRelease.h

@@ -12,7 +12,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#import "FIRAppDistributionRelease.h"
+#import "FirebaseAppDistribution/Sources/Public/FIRAppDistributionRelease.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 1 - 2
FirebaseAppDistribution/Tests/Unit/FIRAppDistributionMachOTests.m

@@ -15,8 +15,7 @@
 #import <Foundation/Foundation.h>
 #import <XCTest/XCTest.h>
 
-#import "FIRAppDistributionMachO+Private.h"
-#import "FirebaseAppDistribution/FIRAppDistributionMachO+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
 #import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
 
 @interface FIRAppDistributionMachOTests : XCTestCase

+ 4 - 4
FirebaseAppDistribution/Tests/Unit/FIRAppDistributionTests.m

@@ -16,10 +16,10 @@
 #import <OCMock/OCMock.h>
 #import <XCTest/XCTest.h>
 
-#import "FirebaseAppDistribution/FIRAppDistribution.h"
-#import "FirebaseAppDistribution/FIRAppDistributionMachO+Private.h"
-#import "FirebaseAppDistribution/FIRAppDistributionUIService.h"
-#import "FirebaseAppDistribution/FIRFADApiService+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionMachO.h"
+#import "FirebaseAppDistribution/Sources/FIRAppDistributionUIService.h"
+#import "FirebaseAppDistribution/Sources/FIRFADApiService.h"
+#import "FirebaseAppDistribution/Sources/Private/FIRAppDistribution.h"
 #import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
 #import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"
 #import "GoogleUtilities/AppDelegateSwizzler/Private/GULAppDelegateSwizzler.h"

+ 1 - 1
FirebaseAppDistribution/Tests/Unit/FIRFADApiServiceTests.m

@@ -16,7 +16,7 @@
 #import <OCMock/OCMock.h>
 #import <XCTest/XCTest.h>
 
-#import "FirebaseAppDistribution/FIRFADApiService+Private.h"
+#import "FirebaseAppDistribution/Sources/FIRFADApiService.h"
 #import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
 #import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"