mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-17 20:49:02 +00:00
f0a38a2b3f
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40219
54 lines
1.4 KiB
Objective-C
54 lines
1.4 KiB
Objective-C
/*
|
|
Copyright 2009 Hardcoded Software (http://www.hardcoded.net)
|
|
|
|
This software is licensed under the "HS" License as described in the "LICENSE" file,
|
|
which should be included with this package. The terms are also available at
|
|
http://www.hardcoded.net/licenses/hs_license
|
|
*/
|
|
|
|
#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 NSSegmentedControl *deltaSwitch;
|
|
IBOutlet MatchesView *matches;
|
|
IBOutlet NSSegmentedControl *pmSwitch;
|
|
IBOutlet NSTextField *stats;
|
|
|
|
BOOL _powerMode;
|
|
BOOL _displayDelta;
|
|
}
|
|
/* Helpers */
|
|
- (NSArray *)getColumnsOrder;
|
|
- (NSDictionary *)getColumnsWidth;
|
|
- (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)exportToXHTML:(id)sender;
|
|
- (IBAction)moveMarked:(id)sender;
|
|
- (IBAction)switchSelected:(id)sender;
|
|
- (IBAction)togglePowerMarker:(id)sender;
|
|
|
|
/* Notifications */
|
|
- (void)jobCompleted:(NSNotification *)aNotification;
|
|
@end
|