X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=ConfigsController.h;h=9d6d9a1d5d1e5c3a1ead35fe32f878adcfae4014;hp=a408d3bfaa8d5eb18031ade6675b8db5c6197cce;hb=62aa5b73be6ec1e499e6b155cd0e7687c338cbaa;hpb=c6fb77859e508aaef686b7a5a6a12abe29178708 diff --git a/ConfigsController.h b/ConfigsController.h index a408d3b..9d6d9a1 100644 --- a/ConfigsController.h +++ b/ConfigsController.h @@ -9,23 +9,20 @@ @class Config; @class TargetController; -@interface ConfigsController : NSObject { - IBOutlet NSButton *removeButton; - IBOutlet NSTableView *tableView; - IBOutlet TargetController *targetController; +@interface ConfigsController : NSObject { + IBOutlet NSButton *removeButton; + IBOutlet NSTableView *tableView; + IBOutlet TargetController *targetController; } +@property (readonly) Config *currentConfig; +@property (readonly) NSArray *configs; + - (IBAction)addPressed:(id)sender; - (IBAction)removePressed:(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;