unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

WindowController.swift (548B)

      1 //
      2 //  WindowController.swift
      3 //  UnrealIRCd
      4 //
      5 //  Created by Travis McArthur on 7/19/15.
      6 //  Copyright (c) 2015 UnrealIRCd Team. All rights reserved.
      7 //
      8 
      9 import Foundation
     10 import AppKit
     11 
     12 class WindowController : NSWindowController
     13 {
     14 
     15     func setupModels(daemonModel: DaemonModel, configurationModel: ConfigurationModel) {
     16         let viewController = contentViewController as! ViewController
     17         viewController.daemonModel = daemonModel
     18         viewController.configModel = configurationModel
     19         super.windowWillLoad()
     20     }
     21     
     22     
     23 }