Delete key now deletes the item in the preferences table view. We can set
[MenuTunes.git] / PreferencesController.h
index 1f0094d..0afa851 100755 (executable)
@@ -14,7 +14,7 @@
 
 #import <Cocoa/Cocoa.h>
 
-@class MainController, ITKeyCombo;
+@class MyTableView, MainController, ITKeyCombo;
 
 @interface PreferencesController : NSObject
 {
@@ -25,7 +25,7 @@
     IBOutlet NSPanel *keyComboPanel;
     IBOutlet NSButton *launchAtLoginCheckbox;
     IBOutlet NSButton *launchPlayerAtLaunchCheckbox;
-    IBOutlet NSTableView *menuTableView;
+    IBOutlet MyTableView *menuTableView;
     IBOutlet NSButton *nameCheckbox;
     IBOutlet NSButton *nextTrackButton;
     IBOutlet NSButton *playPauseButton;
@@ -75,4 +75,7 @@
 
 - (void)setCurrentHotKey:(NSString *)key;
 - (void)setKeyCombo:(ITKeyCombo *)newCombo;
+
+- (void)deletePressedInTableView:(NSTableView *)tableView;
+
 @end