Remove instance data from interface

This commit is contained in:
Allan Odgaard
2013-01-11 04:44:41 +01:00
parent 546b55a407
commit f5ac423ecf
2 changed files with 17 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
#import <oak/debug.h>
@class OakStatusBar;
@class OFBOutlineView;
namespace fb
@@ -16,23 +15,6 @@ namespace fb
@end
@interface OakFileBrowserView : NSView
{
OBJC_WATCH_LEAKS(OakFileBrowserView);
// These two properties are retained only as subviews
OFBOutlineView* outlineView;
OakStatusBar* headerView;
id delegate;
NSResponder* persistentNextResponder;
// Header view
BOOL canGoBackward;
BOOL canGoForward;
NSString* titleText;
NSImage* titleImage;
}
// Initial setup
@property (nonatomic, assign) id delegate;
@property (nonatomic, assign) NSResponder* persistentNextResponder;

View File

@@ -6,6 +6,23 @@
#import <OakAppKit/OakFileIconImage.h>
@interface OakFileBrowserView ()
{
OBJC_WATCH_LEAKS(OakFileBrowserView);
// These two properties are retained only as subviews
OFBOutlineView* outlineView;
OakStatusBar* headerView;
id delegate;
NSResponder* persistentNextResponder;
// Header view
BOOL canGoBackward;
BOOL canGoForward;
NSString* titleText;
NSImage* titleImage;
}
- (void)setupViews;
@end