2009-08-05 08:59:46 +00:00
|
|
|
/*
|
2011-04-12 08:04:01 +00:00
|
|
|
Copyright 2011 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 08:59:46 +00:00
|
|
|
|
2010-09-30 10:17:41 +00:00
|
|
|
This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
2009-08-05 08:59:46 +00:00
|
|
|
which should be included with this package. The terms are also available at
|
2010-09-30 10:17:41 +00:00
|
|
|
http://www.hardcoded.net/licenses/bsd_license
|
2009-08-05 08:59:46 +00:00
|
|
|
*/
|
|
|
|
|
2009-06-01 09:55:11 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "PyApp.h"
|
|
|
|
|
|
|
|
@interface PyDupeGuruBase : PyApp
|
|
|
|
//Actions
|
|
|
|
- (NSNumber *)addDirectory:(NSString *)name;
|
|
|
|
- (void)removeDirectory:(NSNumber *)index;
|
2010-08-13 11:06:18 +00:00
|
|
|
- (void)loadResultsFrom:(NSString *)filename;
|
|
|
|
- (void)saveResultsAs:(NSString *)filename;
|
2011-01-13 15:20:03 +00:00
|
|
|
- (void)loadSession;
|
|
|
|
- (void)saveSession;
|
2009-06-01 09:55:11 +00:00
|
|
|
- (void)clearIgnoreList;
|
|
|
|
- (void)purgeIgnoreList;
|
2009-09-01 14:05:00 +00:00
|
|
|
- (NSString *)exportToXHTMLwithColumns:(NSArray *)aColIds;
|
2010-04-12 15:43:24 +00:00
|
|
|
- (void)invokeCommand:(NSString *)cmd;
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
- (NSNumber *)doScan;
|
|
|
|
|
|
|
|
- (void)toggleSelectedMark;
|
|
|
|
- (void)markAll;
|
|
|
|
- (void)markInvert;
|
|
|
|
- (void)markNone;
|
|
|
|
|
|
|
|
- (void)addSelectedToIgnoreList;
|
|
|
|
- (void)openSelected;
|
|
|
|
- (void)revealSelected;
|
|
|
|
- (void)makeSelectedReference;
|
|
|
|
- (void)applyFilter:(NSString *)filter;
|
|
|
|
|
|
|
|
- (void)copyOrMove:(NSNumber *)aCopy markedTo:(NSString *)destination recreatePath:(NSNumber *)aRecreateType;
|
|
|
|
- (void)deleteMarked;
|
2010-09-25 13:37:18 +00:00
|
|
|
- (void)hardlinkMarked;
|
2009-06-01 09:55:11 +00:00
|
|
|
- (void)removeMarked;
|
|
|
|
|
|
|
|
//Data
|
|
|
|
- (NSNumber *)getIgnoreListCount;
|
|
|
|
- (NSNumber *)getMarkCount;
|
2010-04-12 10:21:01 +00:00
|
|
|
- (BOOL)scanWasProblematic;
|
2011-01-13 15:20:03 +00:00
|
|
|
- (BOOL)resultsAreModified;
|
2011-01-29 10:07:33 +00:00
|
|
|
- (NSArray *)deltaColumns;
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
//Scanning options
|
|
|
|
- (void)setMinMatchPercentage:(NSNumber *)percentage;
|
2010-09-25 10:28:34 +00:00
|
|
|
- (void)setMixFileKind:(BOOL)mix_file_kind;
|
|
|
|
- (void)setEscapeFilterRegexp:(BOOL)escape_filter_regexp;
|
|
|
|
- (void)setRemoveEmptyFolders:(BOOL)remove_empty_folders;
|
|
|
|
- (void)setIgnoreHardlinkMatches:(BOOL)ignore_hardlink_matches;
|
2010-01-15 10:19:24 +00:00
|
|
|
- (void)setSizeThreshold:(NSInteger)size_threshold;
|
2009-06-01 09:55:11 +00:00
|
|
|
@end
|