Modernize the code a bit, fix the help url and improve the dts options

This commit is contained in:
Damiano Galassi committed 2015-08-19 19:28:00 +02:00
1 parent e161718557
commit b005cd7d1d
26 files changed
+355 -214

No files matched your search

+6 -1
View File
@@ -11,6 +11,8 @@
#import "SBQueueItem.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, SBQueueStatus) {
SBQueueStatusUnknown = 0,
SBQueueStatusWorking,
@@ -57,7 +59,7 @@ extern NSString *SBQueueCancelledNotification;
- (SBQueueItem *)itemAtIndex:(NSUInteger)index;
- (NSUInteger)indexOfItem:(SBQueueItem *)item;
- (NSIndexSet *)indexesOfItemsWithStatus:(SBQueueItemStatus)status;
- (NSArray *)itemsAtIndexes:(NSIndexSet *)indexes;
- (NSArray<SBQueueItem *> *)itemsAtIndexes:(NSIndexSet *)indexes;
- (void)insertItem:(SBQueueItem *)anItem atIndex:(NSUInteger)index;
@@ -69,3 +71,6 @@ extern NSString *SBQueueCancelledNotification;
- (BOOL)saveQueueToDisk;
@end
NS_ASSUME_NONNULL_END