1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Re-organized DirectoryPanel across editions in a saner way.

This commit is contained in:
Virgil Dupras
2010-02-05 17:05:00 +01:00
parent 9ca8a199c0
commit 922ce5ae36
15 changed files with 22 additions and 56 deletions

View File

@@ -58,10 +58,10 @@ http://www.hardcoded.net/licenses/hs_license
[[self directoryPanel] toggleVisible:sender];
}
- (DirectoryPanelBase *)directoryPanel
- (DirectoryPanel *)directoryPanel
{
if (!_directoryPanel)
_directoryPanel = [[DirectoryPanel alloc] initWithParentApp:self];
_directoryPanel = [[DirectoryPanelPE alloc] initWithParentApp:self];
return _directoryPanel;
}
- (PyDupeGuru *)py { return (PyDupeGuru *)py; }

View File

@@ -9,7 +9,7 @@ http://www.hardcoded.net/licenses/hs_license
#import <Cocoa/Cocoa.h>
#import "../base/DirectoryPanel.h"
@interface DirectoryPanel : DirectoryPanelBase
@interface DirectoryPanelPE : DirectoryPanel
{
}
- (IBAction)addiPhoto:(id)sender;

View File

@@ -11,7 +11,7 @@ http://www.hardcoded.net/licenses/hs_license
static NSString* jobAddIPhoto = @"jobAddIPhoto";
@implementation DirectoryPanel
@implementation DirectoryPanelPE
- (id)initWithParentApp:(id)aParentApp
{
self = [super initWithParentApp:aParentApp];