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
;
23 - (void)activateConfigForProcess
:(NSString
*)processName
;
25 - (NSDictionary
*)dumpAll
;
26 - (void)loadAllFrom
:(NSDictionary
*) dict
;
28 @
property (readonly
) Config
*currentConfig
;
29 @
property (readonly
) NSArray
*configs
;