mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-27 16:50:47 +00:00
大量代码。
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// AdvPreferencesWindowController.swift
|
||||
// ShadowsocksX-NG
|
||||
//
|
||||
// Created by 邱宇舟 on 16/6/6.
|
||||
// Copyright © 2016年 qiuyuzhou. All rights reserved.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
class AdvPreferencesWindowController: NSWindowController, NSWindowDelegate {
|
||||
|
||||
override func windowDidLoad() {
|
||||
super.windowDidLoad()
|
||||
|
||||
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
|
||||
self.window?.delegate = self
|
||||
}
|
||||
|
||||
//------------------------------------------------------------
|
||||
// NSWindowDelegate
|
||||
func windowWillClose(notification: NSNotification) {
|
||||
NSNotificationCenter.defaultCenter()
|
||||
.postNotificationName(NOTIFY_ADV_CONF_CHANGED, object: nil)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user