-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathQSIconLoader.h
More file actions
33 lines (26 loc) · 776 Bytes
/
QSIconLoader.h
File metadata and controls
33 lines (26 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#import <Foundation/Foundation.h>
@class QSIconLoader;
@interface NSObject (QSIconLoaderDelegate)
- (void)iconLoader:(QSIconLoader *)loader loadedIndex:(int)i inArray:(NSArray *)array;
@end
#define QSIconLoaderDelegateCanceled @"QSIconLoaderDelegateCanceled"
@interface QSIconLoader : NSObject {
NSArray *array;
NSIndexSet *loadedIndexes;
BOOL loaderValid;
NSThread *loadThread;
NSRange loadRange;
NSRange newRange;
NSObject *delegate;
int modulation;
}
+ (id)loaderWithArray:(NSArray *)newArray;
- (void)loadIconsInRange:(NSRange)range;
- (NSObject *)delegate;
- (void)setDelegate:(NSObject *)aDelegate;
- (void)invalidate;
- (BOOL)isLoading;
- (int) modulation;
- (void)setModulation:(int)newModulation;
+ (void)invalidateLoaderForDelegate:(id)delegate;
@end