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
|
|
|
|
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 "PyDupeGuru.h"
|
2009-10-30 14:40:17 +00:00
|
|
|
#import "ResultWindow.h"
|
2009-11-02 15:16:34 +00:00
|
|
|
#import "DetailsPanel.h"
|
2010-02-05 15:51:00 +00:00
|
|
|
#import "DirectoryPanel.h"
|
2010-12-30 12:00:44 +00:00
|
|
|
#import "HSAboutBox.h"
|
2011-01-13 15:20:03 +00:00
|
|
|
#import "HSRecentFiles.h"
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
@interface AppDelegateBase : NSObject
|
|
|
|
{
|
|
|
|
IBOutlet PyDupeGuruBase *py;
|
2011-01-13 15:20:03 +00:00
|
|
|
IBOutlet NSMenu *recentResultsMenu;
|
2011-01-14 12:56:50 +00:00
|
|
|
IBOutlet NSMenu *columnsMenu;
|
2009-06-01 09:55:11 +00:00
|
|
|
|
2011-01-14 12:56:50 +00:00
|
|
|
ResultWindowBase *_resultWindow;
|
2010-02-05 16:05:00 +00:00
|
|
|
DirectoryPanel *_directoryPanel;
|
2010-02-05 16:15:45 +00:00
|
|
|
DetailsPanel *_detailsPanel;
|
2011-01-14 13:06:54 +00:00
|
|
|
NSWindowController *_preferencesPanel;
|
2010-12-30 12:00:44 +00:00
|
|
|
HSAboutBox *_aboutBox;
|
2011-01-13 15:20:03 +00:00
|
|
|
HSRecentFiles *_recentResults;
|
2009-06-01 09:55:11 +00:00
|
|
|
}
|
2011-01-14 12:56:50 +00:00
|
|
|
|
|
|
|
/* Virtual */
|
2009-06-01 09:55:11 +00:00
|
|
|
- (PyDupeGuruBase *)py;
|
2011-01-14 12:56:50 +00:00
|
|
|
- (ResultWindowBase *)createResultWindow;
|
|
|
|
- (DirectoryPanel *)createDirectoryPanel;
|
|
|
|
- (DetailsPanel *)createDetailsPanel;
|
|
|
|
- (NSString *)homepageURL;
|
|
|
|
|
|
|
|
/* Public */
|
|
|
|
- (ResultWindowBase *)resultWindow;
|
2010-02-05 16:05:00 +00:00
|
|
|
- (DirectoryPanel *)directoryPanel;
|
2010-02-05 16:15:45 +00:00
|
|
|
- (DetailsPanel *)detailsPanel;
|
2011-01-13 15:20:03 +00:00
|
|
|
- (HSRecentFiles *)recentResults;
|
2011-01-14 12:56:50 +00:00
|
|
|
- (NSMenu *)columnsMenu;
|
2010-12-30 12:00:44 +00:00
|
|
|
|
2011-01-14 12:56:50 +00:00
|
|
|
/* Actions */
|
2011-01-14 14:34:10 +00:00
|
|
|
- (IBAction)loadResults:(id)sender;
|
2011-01-12 16:30:57 +00:00
|
|
|
- (IBAction)openWebsite:(id)sender;
|
|
|
|
- (IBAction)openHelp:(id)sender;
|
2011-01-14 14:34:10 +00:00
|
|
|
- (IBAction)showAboutBox:(id)sender;
|
|
|
|
- (IBAction)showDirectoryWindow:(id)sender;
|
2011-01-14 13:06:54 +00:00
|
|
|
- (IBAction)showPreferencesPanel:(id)sender;
|
2011-01-14 14:34:10 +00:00
|
|
|
- (IBAction)showResultWindow:(id)sender;
|
2011-01-14 13:41:43 +00:00
|
|
|
- (IBAction)startScanning:(id)sender;
|
2009-06-01 09:55:11 +00:00
|
|
|
@end
|