Remove unused field.
[enjoyable.git] / ConfigsController.h
index a408d3b..71fce23 100644 (file)
@@ -9,23 +9,25 @@
 @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;
 }
 
+@property (nonatomic, readonly) Config *currentConfig;
+@property (nonatomic, 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;