aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardmacOS/AppDelegate.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-25 18:33:28 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:27 +0530
commitf6772dc3536698c7d1484ccf5811a4e3dd07ab8c (patch)
tree56d64361cf88c3da949d9f961d0fb93c455968d7 /WireGuard/WireGuardmacOS/AppDelegate.swift
parentXcode: Add WireGuardGoBridgemacOS target (diff)
downloadwireguard-apple-f6772dc3536698c7d1484ccf5811a4e3dd07ab8c.tar.xz
wireguard-apple-f6772dc3536698c7d1484ccf5811a4e3dd07ab8c.zip
macOS: Add WireGuardmacOS target
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuardmacOS/AppDelegate.swift22
1 files changed, 22 insertions, 0 deletions
diff --git a/WireGuard/WireGuardmacOS/AppDelegate.swift b/WireGuard/WireGuardmacOS/AppDelegate.swift
new file mode 100644
index 0000000..fb0094d
--- /dev/null
+++ b/WireGuard/WireGuardmacOS/AppDelegate.swift
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: MIT
+// Copyright © 2018 WireGuard LLC. All Rights Reserved.
+
+import Cocoa
+
+@NSApplicationMain
+class AppDelegate: NSObject, NSApplicationDelegate {
+
+ @IBOutlet weak var window: NSWindow!
+
+
+ func applicationDidFinishLaunching(_ aNotification: Notification) {
+ // Insert code here to initialize your application
+ }
+
+ func applicationWillTerminate(_ aNotification: Notification) {
+ // Insert code here to tear down your application
+ }
+
+
+}
+