summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueue.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-08-11 09:07:20 +0200
committerDamiano Galassi <[email protected]>2019-08-11 09:07:20 +0200
commitbed55e05880f0286f504142a48089bce60c96cc7 (patch)
tree795647e216e70981acc9ba0769eb03c53da44023 /macosx/HBQueue.h
parent6437b9d6653352011dc8af541b373369c45c8d44 (diff)
MacGui: move the queue libhb instance to an xpc service.
Diffstat (limited to 'macosx/HBQueue.h')
-rw-r--r--macosx/HBQueue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBQueue.h b/macosx/HBQueue.h
index d1205b6fe..036df8d27 100644
--- a/macosx/HBQueue.h
+++ b/macosx/HBQueue.h
@@ -6,13 +6,15 @@
#import <Foundation/Foundation.h>
-#import "HBCore.h"
#import "HBDistributedArray.h"
#import "HBQueueItem.h"
#import "HBJobOutputFileWriter.h"
NS_ASSUME_NONNULL_BEGIN
+extern NSString * const HBQueueDidChangeStateNotification;
+extern NSString * const HBQueueNotificationStateKey; // HBState
+
extern NSString * const HBQueueDidAddItemNotification;
extern NSString * const HBQueueDidRemoveItemNotification;
extern NSString * const HBQueueDidChangeItemNotification;
@@ -45,11 +47,9 @@ extern NSString * const HBQueueItemNotificationItemKey; // HBQueueI
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithURL:(NSURL *)queueURL;
-@property (nonatomic, readonly) HBCore *core;
@property (nonatomic, readonly) HBDistributedArray<HBQueueItem *> *items;
@property (nonatomic, nullable) HBQueueItem *currentItem;
-@property (nonatomic, nullable) HBJobOutputFileWriter *currentLog;
@property (nonatomic) NSUInteger pendingItemsCount;
@property (nonatomic) NSUInteger failedItemsCount;