edit: selector validation and fixed an exception.

This commit is contained in:
Damiano Galassi committed 2014-03-16 22:50:58 +01:00
1 parent ed1e386e90
commit d730f1699f
3 files changed
+29 -9

No files matched your search

+3 -1
View File
@@ -9,7 +9,8 @@
#import <Foundation/Foundation.h>
#import <IOKit/pwr_mgt/IOPMLib.h>
@class SBQueueItem;
#import "SBQueueItem.h"
@class MP42File;
typedef NS_ENUM(NSUInteger, SBQueueStatus) {
@@ -58,6 +59,7 @@ extern NSString *SBQueueCancelledNotification;
- (SBQueueItem *)itemAtIndex:(NSUInteger)index;
- (NSUInteger)indexOfItem:(SBQueueItem *)item;
- (NSIndexSet *)indexesOfItemsWithStatus:(SBQueueItemStatus)status;
- (NSArray *)itemsAtIndexes:(NSIndexSet *)indexes;
- (void)insertItem:(SBQueueItem *)anItem atIndex:(NSUInteger)index;