@class Config;
@class TargetController;
-@interface ConfigsController : NSObject {
- IBOutlet NSButton *removeButton;
- IBOutlet NSTableView *tableView;
- IBOutlet TargetController *targetController;
+@interface ConfigsController : NSObject <NSTableViewDataSource, NSTableViewDelegate, NSOpenSavePanelDelegate> {
+ IBOutlet NSButton *removeButton;
+ IBOutlet NSTableView *tableView;
+ IBOutlet TargetController *targetController;
+ IBOutlet NSButton *exportButton;
}
+@property (readonly) Config *currentConfig;
+@property (readonly) NSArray *configs;
+
+- (Config *)objectForKeyedSubscript:(NSString *)name;
+
+
- (IBAction)addPressed:(id)sender;
- (IBAction)removePressed:(id)sender;
+- (IBAction)importPressed:(id)sender;
+- (IBAction)exportPressed:(id)sender;
- (void)activateConfig:(Config *)config;
- (void)activateConfigForProcess:(NSString *)processName;
-- (NSDictionary *)dumpAll;
-- (void)loadAllFrom:(NSDictionary*) dict;
-
-@property (readonly) Config *currentConfig;
-@property (readonly) NSArray *configs;
-
- (void)save;
- (void)load;