 
 
 
-struct FilteredIncidentsCache {
-    let allIncidents: [Incident]
-    let openIncidents: [Incident]
-    let activeIncidents: [Incident]
-}
-
-
-
-struct ViewableIncidentsCache {
-    let searchText: String
-    let filterTag: StateFilterTag
-    let incidents: [Incident]
-}
-
-
-
 class DispatchQueueController: NSWindowController {
 
     var appDelegate: AppDelegate!



    override init(window: NSWindow?) {
//        ims = InMemoryIncidentManagementSystem()
//
//        // For debugging... ************************************************************************************
//        _populateWithFakeData(ims as! InMemoryIncidentManagementSystem)

        let defaults = NSUserDefaults.standardUserDefaults()

        let scheme: String




struct FilteredIncidentsCache {
    let allIncidents: [Incident]
    let openIncidents: [Incident]
    let activeIncidents: [Incident]
}



struct ViewableIncidentsCache {
    let searchText: String
    let filterTag: StateFilterTag
    let incidents: [Incident]
}



enum StateFilterTag: Int {
    case All    = 1
    case Open   = 2
    case Active = 3
}
