mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-19 05:19:03 +00:00
12482fed1b
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4066
50 lines
1.3 KiB
Objective-C
50 lines
1.3 KiB
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import "Outline.h"
|
|
#import "DirectoryPanel.h"
|
|
#import "PyDupeGuru.h"
|
|
|
|
@interface MatchesView : OutlineView
|
|
- (void)keyDown:(NSEvent *)theEvent;
|
|
@end
|
|
|
|
@interface ResultWindowBase : NSWindowController
|
|
{
|
|
@protected
|
|
IBOutlet PyDupeGuruBase *py;
|
|
IBOutlet id app;
|
|
IBOutlet NSView *actionMenuView;
|
|
IBOutlet NSSegmentedControl *deltaSwitch;
|
|
IBOutlet NSView *deltaSwitchView;
|
|
IBOutlet NSView *filterFieldView;
|
|
IBOutlet MatchesView *matches;
|
|
IBOutlet NSSegmentedControl *pmSwitch;
|
|
IBOutlet NSView *pmSwitchView;
|
|
IBOutlet NSTextField *stats;
|
|
|
|
BOOL _powerMode;
|
|
BOOL _displayDelta;
|
|
}
|
|
/* Override */
|
|
- (NSString *)logoImageName;
|
|
|
|
/* Helpers */
|
|
- (NSArray *)getSelected:(BOOL)aDupesOnly;
|
|
- (NSArray *)getSelectedPaths:(BOOL)aDupesOnly;
|
|
- (void)updatePySelection;
|
|
- (void)performPySelection:(NSArray *)aIndexPaths;
|
|
- (void)refreshStats;
|
|
|
|
/* Actions */
|
|
- (IBAction)changeDelta:(id)sender;
|
|
- (IBAction)changePowerMarker:(id)sender;
|
|
- (IBAction)copyMarked:(id)sender;
|
|
- (IBAction)deleteMarked:(id)sender;
|
|
- (IBAction)expandAll:(id)sender;
|
|
- (IBAction)moveMarked:(id)sender;
|
|
- (IBAction)switchSelected:(id)sender;
|
|
- (IBAction)togglePowerMarker:(id)sender;
|
|
|
|
/* Notifications */
|
|
- (void)jobCompleted:(NSNotification *)aNotification;
|
|
@end
|