Clean up a bunch of properties; remove unused ones, use automatic ones where possible...
[enjoyable.git] / ConfigsController.h
index 32e0c61..e616e1e 100644 (file)
@@ -6,28 +6,23 @@
 //  Copyright 2009 University of Otago. All rights reserved.
 //
 
-#import <Cocoa/Cocoa.h>
-
 @class Config;
 @class TargetController;
 
 @interface ConfigsController : NSObject {
-       IBOutlet NSButton *removeButton;
-       IBOutlet NSTableView *tableView;
-       IBOutlet TargetController *targetController;
+    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;