      
         }
         
-        
-        
         // initialize default setting
         NotificationCenter.default.addObserver(self, selector: #selector(self.recordButtonDidClick(_:)), name: NSNotification.Name(rawValue: "CaptureViewRecordButtonDidClick"), object: nil)
 

        
    }

    // MARK: - Actions
    
    func recordButtonDidClick(_ button:NSButton) {
        
        self.statusItem = NSStatusBar.system().statusItem(withLength: NSSquareStatusItemLength)

        // Insert code here to tear down your application
    }
    
}

// MARK: - Main Menu Actions

extension AppDelegate {
    
    @IBAction func mainMenuItemDidClick(_ sender: AnyObject) {
        self.menuItemForCropRecordDidClick(NSMenuItem())
    }
