2009-08-05 08:59:46 +00:00
|
|
|
/*
|
2015-01-03 16:30:57 -05:00
|
|
|
Copyright 2015 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 08:59:46 +00:00
|
|
|
|
2015-01-03 16:33:16 -05:00
|
|
|
This software is licensed under the "GPLv3" 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
|
2015-01-03 16:33:16 -05:00
|
|
|
http://www.gnu.org/licenses/gpl-3.0.html
|
2009-08-05 08:59:46 +00:00
|
|
|
*/
|
|
|
|
|
2009-06-15 12:33:58 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2012-01-13 15:25:34 -05:00
|
|
|
#import <Python.h>
|
2010-02-05 20:10:54 +01:00
|
|
|
#import "PyDetailsPanel.h"
|
2009-06-15 12:33:58 +00:00
|
|
|
|
2016-06-05 21:18:48 -04:00
|
|
|
@interface DetailsPanel : NSWindowController <NSTableViewDataSource>
|
2009-06-15 12:33:58 +00:00
|
|
|
{
|
2012-07-21 10:39:01 -04:00
|
|
|
NSTableView *detailsTable;
|
2012-01-12 09:41:03 -05:00
|
|
|
|
2012-01-13 15:25:34 -05:00
|
|
|
PyDetailsPanel *model;
|
2009-06-15 12:33:58 +00:00
|
|
|
}
|
2012-07-21 10:39:01 -04:00
|
|
|
|
|
|
|
@property (readwrite, retain) NSTableView *detailsTable;
|
|
|
|
|
2012-01-13 15:25:34 -05:00
|
|
|
- (id)initWithPyRef:(PyObject *)aPyRef;
|
|
|
|
- (PyDetailsPanel *)model;
|
2009-06-15 12:33:58 +00:00
|
|
|
|
2012-07-29 11:57:46 -04:00
|
|
|
- (NSWindow *)createWindow;
|
2011-01-13 13:51:00 +01:00
|
|
|
- (BOOL)isVisible;
|
2009-11-02 15:16:34 +00:00
|
|
|
- (void)toggleVisibility;
|
2009-06-15 12:53:47 +00:00
|
|
|
|
2010-02-05 20:10:54 +01:00
|
|
|
/* Python --> Cocoa */
|
|
|
|
- (void)refresh;
|
2009-06-15 12:33:58 +00:00
|
|
|
@end
|