2009-08-05 08:59:46 +00:00
|
|
|
/*
|
2010-01-01 20:11:34 +00:00
|
|
|
Copyright 2010 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 08:59:46 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
- (void)loadResults;
|
|
|
|
- (void)saveResults;
|
|
|
|
- (void)loadIgnoreList;
|
|
|
|
- (void)saveIgnoreList;
|
|
|
|
- (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;
|
|
|
|
- (void)removeMarked;
|
|
|
|
|
|
|
|
//Data
|
|
|
|
- (NSNumber *)getIgnoreListCount;
|
|
|
|
- (NSNumber *)getMarkCount;
|
2010-04-12 10:21:01 +00:00
|
|
|
- (BOOL)scanWasProblematic;
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
//Scanning options
|
|
|
|
- (void)setMinMatchPercentage:(NSNumber *)percentage;
|
|
|
|
- (void)setMixFileKind:(NSNumber *)mix_file_kind;
|
|
|
|
- (void)setEscapeFilterRegexp:(NSNumber *)escape_filter_regexp;
|
|
|
|
- (void)setRemoveEmptyFolders:(NSNumber *)remove_empty_folders;
|
2010-01-15 10:19:24 +00:00
|
|
|
- (void)setSizeThreshold:(NSInteger)size_threshold;
|
2009-06-01 09:55:11 +00:00
|
|
|
@end
|