mirror of
https://github.com/trudnai/Steve2.git
synced 2024-11-19 15:32:34 +00:00
cf5f390ed2
- KBDSTRB from ioWrite
32 lines
716 B
Swift
32 lines
716 B
Swift
//
|
|
// AppDelegate.swift
|
|
// A2Mac
|
|
//
|
|
// Created by Tamas Rudnai on 7/25/19.
|
|
// Copyright © 2019 GameAlloy. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
@NSApplicationMain
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
|
|
|
|
|
@IBAction func Disk1_Selected(_ sender: NSMenuItem) {
|
|
if let menuIdentifier = sender.identifier {
|
|
woz_loadFile( Bundle.main.resourcePath, menuIdentifier.rawValue + ".woz" )
|
|
}
|
|
}
|
|
|
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
|
// Insert code here to initialize your application
|
|
}
|
|
|
|
func applicationWillTerminate(_ aNotification: Notification) {
|
|
// Insert code here to tear down your application
|
|
}
|
|
|
|
|
|
}
|
|
|