wrappers: keep imports them private to file scope for encapsulation

This commit is contained in:
mahee96
2026-02-23 11:53:17 +05:30
parent e9772afbf6
commit 232dec2c36
2 changed files with 6 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
// //
// EMProxyWrwapper.swift // EMProxyWrwapper.swift
// AltStore // SideStore
// //
// Created by Magesh K on 22/02/26. // Created by Magesh K on 22/02/26.
// Copyright © 2026 SideStore. All rights reserved. // Copyright © 2026 SideStore. All rights reserved.
// //
import Foundation import Foundation
import em_proxy private import em_proxy
public func startEMProxy(bind_addr: String) { public func startEMProxy(bind_addr: String) {
#if targetEnvironment(simulator) #if targetEnvironment(simulator)

View File

@@ -1,12 +1,12 @@
// //
// MinimuxerWrapper.swift // MinimuxerWrapper.swift
// SideStore
// //
// Created by Jackson Coxson on 10/26/22. // Created by Magesh K on 22/02/26.
// Copyright © 2026 SideStore. All rights reserved.
// //
import Foundation import Foundation
import minimuxer private import minimuxer
var isMinimuxerReady: Bool { var isMinimuxerReady: Bool {
#if targetEnvironment(simulator) #if targetEnvironment(simulator)
@@ -80,7 +80,7 @@ func fetchUDID() -> String? {
extension MinimuxerError: LocalizedError { extension MinimuxerError: @retroactive LocalizedError {
public var failureReason: String? { public var failureReason: String? {
switch self { switch self {
case .NoDevice: case .NoDevice: