//
#import <Cocoa/Cocoa.h>
-#import "CompatibilityFixes.h"
#import "PXSourceListDelegate.h"
#import "PXSourceListDataSource.h"
@interface PXSourceList: NSOutlineView <NSOutlineViewDelegate, NSOutlineViewDataSource>
{
- id <PXSourceListDelegate> _secondaryDelegate; //Used to store the publicly visible delegate
- id <PXSourceListDataSource> _secondaryDataSource; //Used to store the publicly visible data source
-
- NSSize _iconSize; //The size of icons in the Source List. Defaults to 16x16
+ id <PXSourceListDelegate> _secondaryDelegate; //Used to store the publicly visible delegate
+ id <PXSourceListDataSource> _secondaryDataSource; //Used to store the publicly visible data source
+
+ NSSize _iconSize; //The size of icons in the Source List. Defaults to 16x16
}
-
+
@property (nonatomic) NSSize iconSize;
-
+
@property (assign) id<PXSourceListDataSource> dataSource;
@property (assign) id<PXSourceListDelegate> delegate;
-- (NSUInteger)numberOfGroups; //Returns the number of groups in the Source List
-- (BOOL)isGroupItem:(id)item; //Returns whether `item` is a group
-- (BOOL)isGroupAlwaysExpanded:(id)group; //Returns whether `group` is displayed as always expanded
+- (NSUInteger)numberOfGroups; //Returns the number of groups in the Source List
+- (BOOL)isGroupItem:(id)item; //Returns whether `item` is a group
+- (BOOL)isGroupAlwaysExpanded:(id)group; //Returns whether `group` is displayed as always expanded
-- (BOOL)itemHasBadge:(id)item; //Returns whether `item` has a badge
-- (NSInteger)badgeValueForItem:(id)item; //Returns the badge value for `item`
+- (BOOL)itemHasBadge:(id)item; //Returns whether `item` has a badge
+- (NSInteger)badgeValueForItem:(id)item; //Returns the badge value for `item`
@end