diff options
author | Damiano Galassi <[email protected]> | 2019-02-05 14:03:27 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-02-05 14:03:27 +0100 |
commit | 6c3376e9db3b8b314b022e5991806c8696496585 (patch) | |
tree | 4666fe1edf8fdf3a1da1babed5fbd082db40aed5 /macosx/HBQueueItemView.h | |
parent | 948a6712a11a7fe1f1f314ebb26f728a00ba963c (diff) |
MacGui: use a view-based table view in the queue window.
Diffstat (limited to 'macosx/HBQueueItemView.h')
-rw-r--r-- | macosx/HBQueueItemView.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/macosx/HBQueueItemView.h b/macosx/HBQueueItemView.h new file mode 100644 index 000000000..1146ae294 --- /dev/null +++ b/macosx/HBQueueItemView.h @@ -0,0 +1,32 @@ +/* HBQueueItemView.h $ + + This file is part of the HandBrake source code. + Homepage: <http://handbrake.fr/>. + It may be used under the terms of the GNU General Public License. */ + +#import <Cocoa/Cocoa.h> + +@class HBJob; + +NS_ASSUME_NONNULL_BEGIN + +@protocol HBQueueItemViewDelegate + +- (void)revealQueueItem:(HBJob *)job; +- (void)removeQueueItem:(HBJob *)job; +- (void)toggleQueueItemHeight:(HBJob *)job; + +@end + +@interface HBQueueItemView : NSTableCellView + +@property (nonatomic, weak, nullable) HBJob *job; +@property (nonatomic, weak, nullable) id <HBQueueItemViewDelegate> delegate; +@property (nonatomic) BOOL expanded; + +- (void)expand; +- (void)collapse; + +@end + +NS_ASSUME_NONNULL_END |