summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueItem.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-07-27 13:15:37 +0200
committerDamiano Galassi <[email protected]>2019-07-27 13:15:37 +0200
commitf82a8597f2800a5ca147679ad5660ef9fab5a85d (patch)
tree8e859079072c7c5e939ba4a7a7fcac5e8a67c3d9 /macosx/HBQueueItem.h
parenta1d064d2f01d963213b1336c0aeda9e7a1a6817f (diff)
MacGui: improve queue labels when multiple jobs are selected; fix some bugs.
Diffstat (limited to 'macosx/HBQueueItem.h')
-rw-r--r--macosx/HBQueueItem.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/macosx/HBQueueItem.h b/macosx/HBQueueItem.h
index 13ad6c094..535d20a17 100644
--- a/macosx/HBQueueItem.h
+++ b/macosx/HBQueueItem.h
@@ -27,6 +27,8 @@ typedef NS_ENUM(NSUInteger, HBQueueItemState) {
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithJob:(HBJob *)job;
+@property (nonatomic, readonly) HBJob *job;
+
/// Current state of the job.
@property (nonatomic, readwrite) HBQueueItemState state;
@@ -42,9 +44,6 @@ typedef NS_ENUM(NSUInteger, HBQueueItemState) {
/// The file URL at which the new file will be created.
@property (nonatomic, readonly, copy) NSURL *completeOutputURL;
-@property (nonatomic, readonly) NSAttributedString *attributedTitleDescription;
-@property (nonatomic, readonly) NSAttributedString *attributedDescription;
-
@property (nonatomic) NSTimeInterval encodeDuration;
@property (nonatomic) NSTimeInterval pauseDuration;
@@ -54,7 +53,11 @@ typedef NS_ENUM(NSUInteger, HBQueueItemState) {
- (void)pausedAtDate:(NSDate *)date;
- (void)resumedAtDate:(NSDate *)date;
-@property (nonatomic, readonly) HBJob *job;
+@property (nonatomic, readonly) NSAttributedString *attributedTitleDescription;
+@property (nonatomic, readonly) NSAttributedString *attributedDescription;
+
+@property (nonatomic, readonly) NSAttributedString *attributedStatistics;
+
@end