2009-08-05 03:59:46 -05:00
|
|
|
/*
|
2010-01-01 14:11:34 -06:00
|
|
|
Copyright 2010 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 03:59:46 -05:00
|
|
|
|
2010-09-30 05:17:41 -05:00
|
|
|
This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
2009-08-05 03:59:46 -05:00
|
|
|
which should be included with this package. The terms are also available at
|
2010-09-30 05:17:41 -05:00
|
|
|
http://www.hardcoded.net/licenses/bsd_license
|
2009-08-05 03:59:46 -05:00
|
|
|
*/
|
|
|
|
|
2009-06-01 04:55:11 -05:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "PyDupeGuru.h"
|
2009-10-30 09:40:17 -05:00
|
|
|
#import "ResultWindow.h"
|
2009-11-02 09:16:34 -06:00
|
|
|
#import "DetailsPanel.h"
|
2010-02-05 09:51:00 -06:00
|
|
|
#import "DirectoryPanel.h"
|
2010-12-30 06:00:44 -06:00
|
|
|
#import "HSAboutBox.h"
|
2011-01-13 09:20:03 -06:00
|
|
|
#import "HSRecentFiles.h"
|
2009-06-01 04:55:11 -05:00
|
|
|
|
|
|
|
@interface AppDelegateBase : NSObject
|
|
|
|
{
|
|
|
|
IBOutlet PyDupeGuruBase *py;
|
2011-01-13 09:20:03 -06:00
|
|
|
IBOutlet NSMenu *recentResultsMenu;
|
2011-01-22 09:12:18 -06:00
|
|
|
IBOutlet NSMenu *actionsMenu;
|
2011-01-14 06:56:50 -06:00
|
|
|
IBOutlet NSMenu *columnsMenu;
|
2009-06-01 04:55:11 -05:00
|
|
|
|
2011-01-14 06:56:50 -06:00
|
|
|
ResultWindowBase *_resultWindow;
|
2010-02-05 10:05:00 -06:00
|
|
|
DirectoryPanel *_directoryPanel;
|
2010-02-05 10:15:45 -06:00
|
|
|
DetailsPanel *_detailsPanel;
|
2011-01-14 07:06:54 -06:00
|
|
|
NSWindowController *_preferencesPanel;
|
2010-12-30 06:00:44 -06:00
|
|
|
HSAboutBox *_aboutBox;
|
2011-01-13 09:20:03 -06:00
|
|
|
HSRecentFiles *_recentResults;
|
2009-06-01 04:55:11 -05:00
|
|
|
}
|
2011-01-14 06:56:50 -06:00
|
|
|
|
|
|
|
/* Virtual */
|
2009-06-01 04:55:11 -05:00
|
|
|
- (PyDupeGuruBase *)py;
|
2011-01-14 06:56:50 -06:00
|
|
|
- (ResultWindowBase *)createResultWindow;
|
|
|
|
- (DirectoryPanel *)createDirectoryPanel;
|
|
|
|
- (DetailsPanel *)createDetailsPanel;
|
|
|
|
- (NSString *)homepageURL;
|
|
|
|
|
|
|
|
/* Public */
|
|
|
|
- (ResultWindowBase *)resultWindow;
|
2010-02-05 10:05:00 -06:00
|
|
|
- (DirectoryPanel *)directoryPanel;
|
2010-02-05 10:15:45 -06:00
|
|
|
- (DetailsPanel *)detailsPanel;
|
2011-01-13 09:20:03 -06:00
|
|
|
- (HSRecentFiles *)recentResults;
|
2011-01-14 06:56:50 -06:00
|
|
|
- (NSMenu *)columnsMenu;
|
2010-12-30 06:00:44 -06:00
|
|
|
|
2011-01-14 06:56:50 -06:00
|
|
|
/* Actions */
|
2011-01-14 08:34:10 -06:00
|
|
|
- (IBAction)loadResults:(id)sender;
|
2011-01-12 10:30:57 -06:00
|
|
|
- (IBAction)openWebsite:(id)sender;
|
|
|
|
- (IBAction)openHelp:(id)sender;
|
2011-01-14 08:34:10 -06:00
|
|
|
- (IBAction)showAboutBox:(id)sender;
|
|
|
|
- (IBAction)showDirectoryWindow:(id)sender;
|
2011-01-14 07:06:54 -06:00
|
|
|
- (IBAction)showPreferencesPanel:(id)sender;
|
2011-01-14 08:34:10 -06:00
|
|
|
- (IBAction)showResultWindow:(id)sender;
|
2011-01-14 07:41:43 -06:00
|
|
|
- (IBAction)startScanning:(id)sender;
|
2009-06-01 04:55:11 -05:00
|
|
|
@end
|