5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 @
class TargetController
;
14 @interface ConfigsController
: NSObject
{
15 IBOutlet NSButton
*removeButton
;
16 IBOutlet NSTableView
*tableView
;
17 IBOutlet TargetController
*targetController
;
20 - (IBAction
)addPressed
:(id
)sender
;
21 - (IBAction
)removePressed
:(id
)sender
;
22 - (void)activateConfig
:(Config
*)config forApplication
:(ProcessSerialNumber
*)psn
;
24 - (NSDictionary
*)dumpAll
;
25 - (void)loadAllFrom
:(NSDictionary
*) dict
;
27 @
property (readonly
) Config
*currentConfig
;
28 @
property (readonly
) Config
*currentNeutralConfig
;
29 @
property (readonly
) NSArray
*configs
;
34 - (void)applicationSwitchedTo
:(NSString
*)name withPsn
:(ProcessSerialNumber
)psn
;