diff options
author | Damiano Galassi <[email protected]> | 2019-02-07 19:11:51 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-02-07 19:11:51 +0100 |
commit | 5c52e252def1d72d072adc4cfdb2137a35705186 (patch) | |
tree | 8c34d9d5ea5acdc012155c8c14abd15b87cfefc6 /macosx/HBQueueItemView.h | |
parent | 618ee9eb98daba5d4f64cf26c04b6429d16faf97 (diff) |
MacGui: refactor some queue related properties out of HBJob to a new HBQueueItem class.
Diffstat (limited to 'macosx/HBQueueItemView.h')
-rw-r--r-- | macosx/HBQueueItemView.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBQueueItemView.h b/macosx/HBQueueItemView.h index 1146ae294..907108f47 100644 --- a/macosx/HBQueueItemView.h +++ b/macosx/HBQueueItemView.h @@ -6,21 +6,21 @@ #import <Cocoa/Cocoa.h> -@class HBJob; +@class HBQueueItem; NS_ASSUME_NONNULL_BEGIN @protocol HBQueueItemViewDelegate -- (void)revealQueueItem:(HBJob *)job; -- (void)removeQueueItem:(HBJob *)job; -- (void)toggleQueueItemHeight:(HBJob *)job; +- (void)revealQueueItem:(HBQueueItem *)job; +- (void)removeQueueItem:(HBQueueItem *)job; +- (void)toggleQueueItemHeight:(HBQueueItem *)job; @end @interface HBQueueItemView : NSTableCellView -@property (nonatomic, weak, nullable) HBJob *job; +@property (nonatomic, weak, nullable) HBQueueItem *item; @property (nonatomic, weak, nullable) id <HBQueueItemViewDelegate> delegate; @property (nonatomic) BOOL expanded; |