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

Fixed warning during the compilation of PE's cocoa UI unit.

--HG--
branch : xibless
rename : cocoa/base/DetailsPanel.h => cocoa/base/DetailsPanelBase.h
rename : cocoa/base/DetailsPanel.m => cocoa/base/DetailsPanelBase.m
rename : cocoa/pe/DetailsPanelPE.h => cocoa/pe/DetailsPanel.h
rename : cocoa/pe/DetailsPanelPE.m => cocoa/pe/DetailsPanel.m
This commit is contained in:
Virgil Dupras
2012-07-29 11:57:46 -04:00
parent 244af5b652
commit 1fe42f673f
10 changed files with 84 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ http://www.hardcoded.net/licenses/bsd_license
#import <Python.h>
#import "PyDetailsPanel.h"
@interface DetailsPanel : NSWindowController <NSTableViewDataSource>
@interface DetailsPanelBase : NSWindowController <NSTableViewDataSource>
{
NSTableView *detailsTable;
@@ -22,6 +22,7 @@ http://www.hardcoded.net/licenses/bsd_license
- (id)initWithPyRef:(PyObject *)aPyRef;
- (PyDetailsPanel *)model;
- (NSWindow *)createWindow;
- (BOOL)isVisible;
- (void)toggleVisibility;

View File

@@ -6,18 +6,17 @@ which should be included with this package. The terms are also available at
http://www.hardcoded.net/licenses/bsd_license
*/
#import "DetailsPanel.h"
#import "DetailsPanel_UI.h"
#import "DetailsPanelBase.h"
#import "HSPyUtil.h"
@implementation DetailsPanel
@implementation DetailsPanelBase
@synthesize detailsTable;
- (id)initWithPyRef:(PyObject *)aPyRef
{
self = [super initWithWindow:nil];
[self setWindow:createDetailsPanel_UI(self)];
[self setWindow:[self createWindow]];
model = [[PyDetailsPanel alloc] initWithModel:aPyRef];
[model bindCallback:createCallback(@"DetailsPanelView", self)];
return self;
@@ -34,6 +33,11 @@ http://www.hardcoded.net/licenses/bsd_license
return (PyDetailsPanel *)model;
}
- (NSWindow *)createWindow
{
return nil; // Virtual
}
- (void)refreshDetails
{
[detailsTable reloadData];