WireGuardApp: integrate WireGuardKit sources directly

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov
2020-12-02 16:10:44 +01:00
parent 0b0898dc3c
commit 547077a808
27 changed files with 188 additions and 85 deletions
@@ -3,7 +3,6 @@
import AVFoundation
import UIKit
import WireGuardKit
protocol QRScanViewControllerDelegate: class {
func addScannedQRCode(tunnelConfiguration: TunnelConfiguration, qrScanViewController: QRScanViewController, completionHandler: (() -> Void)?)
@@ -3,7 +3,6 @@
import UIKit
import os.log
import WireGuardKit
class SettingsTableViewController: UITableViewController {
@@ -153,7 +152,7 @@ extension SettingsTableViewController {
}
cell.value = appVersion
} else if field == .goBackendVersion {
cell.value = getWireGuardVersion()
cell.value = wireGuardVersion
}
return cell
} else if field == .exportZipArchive {
@@ -2,7 +2,6 @@
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
import UIKit
import WireGuardKit
class TunnelDetailTableViewController: UITableViewController {
@@ -2,7 +2,6 @@
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
import UIKit
import WireGuardKit
protocol TunnelEditTableViewControllerDelegate: class {
func tunnelSaved(tunnel: TunnelContainer)
@@ -4,7 +4,6 @@
import UIKit
import MobileCoreServices
import UserNotifications
import WireGuardKit
class TunnelsListTableViewController: UIViewController {