Convert all the queue actions to Swift.
This commit is contained in:
9 files changed
+246
-416
No files matched your search
+13
-3
@@ -7,12 +7,22 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "SBQueueAction.h"
|
||||
|
||||
@class MP42File;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MP42File;
|
||||
@class SBQueueItem;
|
||||
|
||||
/**
|
||||
* SBQueue actions protocol, actions can be run by
|
||||
* the queue's items.
|
||||
*/
|
||||
@protocol SBQueueActionProtocol <NSObject, NSSecureCoding>
|
||||
- (void)runAction:(SBQueueItem *)item;
|
||||
@property (nonatomic, readonly) NSString *localizedDescription;
|
||||
@end
|
||||
|
||||
|
||||
typedef NS_ENUM(NSUInteger, SBQueueItemStatus) {
|
||||
SBQueueItemStatusUnknown = 0,
|
||||
SBQueueItemStatusReady,
|
||||
|
||||
Reference in new issue
Block a user